integrate_ode_adams.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_REV_MAT_FUNCTOR_INTEGRATE_ODE_ADAMS_HPP
2 #define STAN_MATH_REV_MAT_FUNCTOR_INTEGRATE_ODE_ADAMS_HPP
3 
5 #include <ostream>
6 #include <vector>
7 
8 namespace stan {
9 namespace math {
10 
11 template <typename F, typename T_initial, typename T_param>
13 integrate_ode_adams(const F& f, const std::vector<T_initial>& y0, double t0,
14  const std::vector<double>& ts,
15  const std::vector<T_param>& theta,
16  const std::vector<double>& x, const std::vector<int>& x_int,
17  std::ostream* msgs = nullptr,
18  double relative_tolerance = 1e-10,
19  double absolute_tolerance = 1e-10,
20  long int max_num_steps = 1e8) { // NOLINT(runtime/int)
22  return integrator.integrate(f, y0, t0, ts, theta, x, x_int, msgs,
23  relative_tolerance, absolute_tolerance,
24  max_num_steps);
25 }
26 
27 } // namespace math
28 } // namespace stan
29 #endif
#define F(x, y, z)
std::vector< std::vector< typename stan::return_type< T_initial, T_param >::type > > integrate(const F &f, const std::vector< T_initial > &y0, double t0, const std::vector< double > &ts, const std::vector< T_param > &theta, const std::vector< double > &x, const std::vector< int > &x_int, std::ostream *msgs, double relative_tolerance, double absolute_tolerance, long int max_num_steps)
std::vector< std::vector< typename stan::return_type< T_initial, T_param >::type > > integrate_ode_adams(const F &f, const std::vector< T_initial > &y0, double t0, const std::vector< double > &ts, const std::vector< T_param > &theta, const std::vector< double > &x, const std::vector< int > &x_int, std::ostream *msgs=nullptr, double relative_tolerance=1e-10, double absolute_tolerance=1e-10, long int max_num_steps=1e8)
double e()
Definition: constants.hpp:89