Skip to content
Joris Gillis edited this page Apr 4, 2023 · 2 revisions

Standard documentation for simpleRK:

 [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).

Parameters:

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally