Stan Math Library
4.9.0
Automatic Differentiation
|
IDAS DAE integrator.
Definition at line 22 of file idas_integrator.hpp.
#include <idas_integrator.hpp>
Public Member Functions | |
idas_integrator (const double rtol, const double atol, const int64_t max_num_steps) | |
constructor | |
template<typename dae_type > | |
dae_type::return_t | operator() (const char *func, dae_type &dae, double t0, const std::vector< double > &ts) |
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<typename dae_type > | |
void | collect (N_Vector const &yy, N_Vector const *yys, dae_type &dae, Eigen::Matrix< double, -1, 1 > &y) |
Solve DAE system, no sensitivity. | |
template<typename dae_type > | |
void | collect (N_Vector const &yy, N_Vector const *yys, dae_type &dae, Eigen::Matrix< stan::math::var, -1, 1 > &y) |
Private Attributes | |
sundials::Context | sundials_context_ |
const double | rtol_ |
const double | atol_ |
const int64_t | max_num_steps_ |