![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>#include <stan/math/prim/err.hpp>#include <stan/math/prim/fun/constants.hpp>#include <stan/math/prim/functor/integrate_1d_adapter.hpp>#include <boost/math/quadrature/exp_sinh.hpp>#include <boost/math/quadrature/sinh_sinh.hpp>#include <boost/math/quadrature/tanh_sinh.hpp>#include <cmath>#include <functional>#include <ostream>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | stan |
| The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
| namespace | stan::math |
| Matrices and templated mathematical functions. | |
Functions | |
| template<typename F > | |
| double | stan::math::integrate (const F &f, double a, double b, double relative_tolerance) |
| Integrate a single variable function f from a to b to within a specified relative tolerance. | |
| template<typename F , typename... Args, require_all_st_arithmetic< Args... > * = nullptr> | |
| double | stan::math::integrate_1d_impl (const F &f, double a, double b, double relative_tolerance, std::ostream *msgs, const Args &... args) |
| Compute the integral of the single variable function f from a to b to within a specified relative tolerance. | |
| template<typename F > | |
| double | stan::math::integrate_1d (const F &f, double a, double b, const std::vector< double > &theta, const std::vector< double > &x_r, const std::vector< int > &x_i, std::ostream *msgs, const double relative_tolerance=std::sqrt(EPSILON)) |
| Compute the integral of the single variable function f from a to b to within a specified relative tolerance. | |