-
Notifications
You must be signed in to change notification settings - Fork 384
L_1sr
Joris Gillis edited this page Apr 4, 2023
·
2 revisions
[INTERNAL]
::
simpleRK(Function f, int N, int order) -> Function
Construct an explicit Runge-Kutta integrator.
The constructed function has three inputs, corresponding to initial state (x0), parameter (p) and integration time (h) and one output, corresponding to final state (xf).
f: ODE function with two inputs (x and p) and one output (xdot)
N: Number of integrator steps
order: Order of interpolating polynomials
Extra doc: https://github.com/casadi/casadi/wiki/L_1sr
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/integration_tools.hpp#L128
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/integration_tools.cpp#L128-L187
To edit, see writing tips.