Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
integrate_dae.hpp File Reference
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/mat/functor/idas_forward_system.hpp>
#include <stan/math/rev/mat/functor/idas_integrator.hpp>
#include <ostream>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename F , typename Tpar >
std::vector< std::vector< Tpar > > stan::math::integrate_dae (const F &f, const std::vector< double > &yy0, const std::vector< double > &yp0, double t0, const std::vector< double > &ts, const std::vector< Tpar > &theta, const std::vector< double > &x_r, const std::vector< int > &x_i, const double rtol, const double atol, const int64_t max_num_steps=idas_integrator::IDAS_MAX_STEPS, std::ostream *msgs=nullptr)
 Return the solutions for a semi-explicit DAE system with residual specified by functor F, given the specified consistent initial state yy0 and yp0. More...
 

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