Mercurial > octave
view test/bug-59704/bug59704_2.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 | 09f99fe5190c |
children |
line wrap: on
line source
classdef bug59704_2 < handle properties data_ endproperties methods function obj = bug59704_2 () obj.data_ = 1001:1005; endfunction function r = subsref (obj, S) ## Transform: obj(index) --> obj.data_(index) if strcmp (S(1).type, '()') r = subsref (obj.data_, S); else r = builtin('subsref', obj, S); endif endfunction function obj = subsasgn (obj, S, B) ## Transform: obj(index) --> obj.data_(index) if strcmp (S(1).type, '()') obj.data_ = subsasgn (obj.data_, S, B); else obj = builtin ('subsasgn', obj, S, B); endif endfunction endmethods endclassdef