view test/bug-55758/class_bug_55758.m @ 31249:de6fc38c78c6

Make Jacobian types offered by dlsode.f accessible by lsode (bug #31626). * liboctave/numeric/LSODE-opts.in: Add options "jacobian type", "lower jacobian subdiagonals", and "upper jacobian subdiagonals". * liboctave/numeric/LSODE.cc (file scope, lsode_j, LSODE::do_integrate (double)): Handle new configurable Jacobian types. * build-aux/mk-opts.pl: Don't implicitly convert to integer in condition.
author Olaf Till <olaf.till@uni-jena.de>
date Fri, 12 Nov 2010 08:53:05 +0100
parents ab9520ef3895
children
line wrap: on
line source

classdef class_bug_55758 < handle
  properties
    value
  endproperties

  methods
    function self = class_bug_55758 (val)
      if (nargin < 1)
        val = 0;
      endif
      self.value = val;
    endfunction

    function delete (self)
      global class_bug_55758_dtor_called;
      class_bug_55758_dtor_called = true;
    endfunction

    function ret = subsref (self, idx)
      ret = self.value;
    endfunction
  endmethods
endclassdef