ode23 {ecostate} | R Documentation |
Non-stiff (and stiff) ODE solvers
Description
Runge-Kutta (2, 3)-method with variable step size, resp
Usage
ode23(f, a, b, y0, n, Pars, rtol = 0.001, atol = 1e-06)
Arguments
f |
function in the differential equation |
a |
starting time for the interval to integrate |
b |
ending time for the interval to integrate. |
y0 |
starting values at time |
n |
Not used |
Pars |
named list of parameters passed to f |
rtol |
relative tolerance. |
atol |
absolute tolerance. |
Details
Copied from pracma under GPL-3, with small modifications to work with RTMB. This can be used to simulate dynamics, but not during estimation
Value
List with components t for time points between a and b and y an n-by-m matrix with solutions for variables in columns, i.e. each row contains one time stamp.
[Package ecostate version 0.2.0 Index]