Stan Math Library  2.20.0
reverse mode automatic differentiation
stan::math::coupled_ode_system< F, T1, T2 > Struct Template Reference

The coupled_ode_system represents the coupled ode system, which is the base ode and the sensitivities of the base ode (derivatives with respect to the parameters of the base ode). More...

#include <coupled_ode_system.hpp>

Detailed Description

template<typename F, typename T1, typename T2>
struct stan::math::coupled_ode_system< F, T1, T2 >

The coupled_ode_system represents the coupled ode system, which is the base ode and the sensitivities of the base ode (derivatives with respect to the parameters of the base ode).

This class provides a functor to be used by ode solvers, a class method for the size of the coupled ode system, a class method to retrieve the initial state, and a class method to convert from the coupled ode system back to the base ode.

Template Parameters
Fbase ode system functor. Must provide operator()(double t, std::vector<T1> y, std::vector<T2> theta, std::vector<double> x, std::vector<int>x_int, std::ostream* msgs)
T1scalar type of the initial state
T2scalar type of the parameters

Definition at line 29 of file coupled_ode_system.hpp.


The documentation for this struct was generated from the following file:

     [ Stan Home Page ] © 2011–2018, Stan Development Team.