LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
matlab
lib
thirdparty
lsoda
lsoda_fast.m
1
function [T, Y] = lsoda_fast(odefun, tspan, y0, options)
2
% LSODA_FAST Fast LSODA variant with low-order Adams/BDF methods
3
%
4
% Equivalent to JAR
's fastOdeSolver: limited Adams order for speed.
5
% Uses MaxOrdNonStiff=3 to limit nonstiff method order (similar to
6
% DormandPrince54 used in JAR for non-stiff problems).
7
%
8
% See also: lsoda_solve, lsoda_accurate, lsoda_fast_stiff
9
10
if nargin < 4, options = struct(); end
11
if ~isfield(options, '
MaxOrdNonStiff
'), options.MaxOrdNonStiff = 3; end
12
if ~isfield(options, '
MaxOrdStiff
'), options.MaxOrdStiff = 3; end
13
[T, Y] = lsoda_solve(odefun, tspan, y0, options);
14
end
Generated by
1.9.8