Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Construct cvodes_integrator object.
function_name | Calling function name (for printing debugging messages) | |
f | Right hand side of the ODE | |
y0 | Initial state | |
t0 | Initial time | |
ts | Times at which to solve the ODE at. All values must be sorted and not less than t0. | |
relative_tolerance | Relative tolerance passed to CVODES | |
absolute_tolerance | Absolute tolerance passed to CVODES | |
max_num_steps | Upper limit on the number of integration steps to take between each output (error if exceeded) | |
[in,out] | msgs | the print stream for warning messages |
args | Extra arguments passed unmodified through to ODE right hand side function |
ts
<code>std::domain_error</code> | if y0, t0, ts, theta, x are not finite, all elements of ts are not greater than t0, or ts is not sorted in strictly increasing order. |
<code>std::invalid_argument</code> | if arguments are the wrong size or tolerances or max_num_steps are out of range. |
Definition at line 191 of file cvodes_integrator.hpp.