Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::coupled_ode_system_impl< true, F, T_y0, Args... > Struct Template Reference

Detailed Description

template<typename F, typename T_y0, typename... Args>
struct stan::math::coupled_ode_system_impl< true, F, T_y0, Args... >

The coupled_ode_system_impl for arithmetic arguments reduces to the regular ode system (there are no sensitivities)

Template Parameters
Fbase ode system functor. Must provide template<typename T_y, typename... T_args> operator()(double t, const Eigen::Matrix<T_y, Eigen::Dynamic, 1>& y, std::ostream* msgs, const T_args&... args)

Definition at line 28 of file coupled_ode_system.hpp.

#include <coupled_ode_system.hpp>

Public Member Functions

 coupled_ode_system_impl (const F &f, const Eigen::VectorXd &y0, std::ostream *msgs, const Args &... args)
 Construct a coupled ode system from the base system function, initial state of the base system, parameters, and a stream for messages.
 
void operator() (const std::vector< double > &z, std::vector< double > &dz_dt, double t) const
 Evaluate the right hand side of the coupled system at state z and time t, and store the sensitivities in dz_dt.
 
size_t size () const
 Returns the size of the coupled system.
 
std::vector< double > initial_state () const
 Returns the initial state of the coupled system.
 

Public Attributes

const F & f_
 
const Eigen::VectorXd & y0_
 
std::tuple< const Args &... > args_tuple_
 
const size_t N_
 
std::ostream * msgs_
 

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