Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ operator()()

template<typename dae_type >
dae_type::return_t stan::math::idas_integrator::operator() ( const char *  func,
dae_type &  dae,
double  t0,
const std::vector< double > &  ts 
)
inline

Return the solutions for the specified DAE given the specified initial state, initial times, times of desired solution, and parameters and data, writing error and warning messages to the specified stream contained in the DAE system.

Template Parameters
DAEtype of DAE system
Parameters
[in]funcCalling function name (for printing debugging messages)
[in]daeDAE system
[in]t0initial time.
[in]tstimes of the desired solutions, in strictly increasing order, all greater than the initial time.
Returns
a vector of states, each state being a vector of the same size as the state variable, corresponding to a time in ts.

Definition at line 57 of file idas_integrator.hpp.