view test/class-concat/class-concat.tst @ 20596:87b557ee8e5d

clean up and vectorize code for dense output in ode45 * scripts/ode/private/ode_rk_interpolate.m: new file * scripts/ode/private/ode_rk_interpolate.m(hermite_quartic_interpolation): move to internal function, use vectorization and broadcasting. * scripts/ode/private/hermite_quartic_interpolation.m: remove file * scripts/ode/module.mk: list added and removed files * scripts/ode/private/integrate_adaptive.m: use new interpolation code.
author Carlo de Falco <carlo.defalco@polimi.it>
date Tue, 06 Oct 2015 19:28:59 +0200
parents 1af8d21608b7
children
line wrap: on
line source

%!test
%! f = foo ();
%! x = [f,f];
%! assert (size (x), [1, 2])
%! assert (class (x), "foo")

%!test
%! f = foo ();
%! x = [f,f];
%! tmp = num2cell (x);
%! assert (iscell (tmp))
%! assert (size (tmp), [1, 2])
%! assert (class (tmp{1}), "foo")
%! assert (class (tmp{2}), "foo")