vSMC
vSMC: Scalable Monte Carlo
|
Numerical integration with the (closed) Newton-Cotes formulae. More...
#include <vsmc/integrate/nintegrate_newton_cotes.hpp>
Public Types | |
typedef NIntegrateBase< NIntegrateNewtonCotes< Degree > >::eval_type | eval_type |
typedef NIntegrateBase< NIntegrateNewtonCotes< Degree > >::size_type | size_type |
Static Public Member Functions | |
static double | integrate_segment (double a, double b, const eval_type &eval) |
static constexpr unsigned | max_degree () |
Additional Inherited Members | |
![]() | |
typedef cxx11::function< double(double)> | eval_type |
typedef std::size_t | size_type |
![]() | |
NIntegrateBase () | |
NIntegrateBase (const NIntegrateBase< NIntegrateNewtonCotes< Degree > > &) | |
virtual | ~NIntegrateBase () |
double | integrate_segment (double a, double b, const eval_type &eval) |
Integrate a segment on the grid. More... | |
double | operator() (size_type N, const double *grid, const eval_type &eval) |
NIntegrateBase< NIntegrateNewtonCotes< Degree > > & | operator= (const NIntegrateBase< NIntegrateNewtonCotes< Degree > > &) |
Numerical integration with the (closed) Newton-Cotes formulae.
Definition at line 212 of file nintegrate_newton_cotes.hpp.
typedef NIntegrateBase<NIntegrateNewtonCotes<Degree> >:: eval_type vsmc::NIntegrateNewtonCotes< Degree >::eval_type |
Definition at line 220 of file nintegrate_newton_cotes.hpp.
typedef NIntegrateBase<NIntegrateNewtonCotes<Degree> >:: size_type vsmc::NIntegrateNewtonCotes< Degree >::size_type |
Definition at line 218 of file nintegrate_newton_cotes.hpp.
|
inlinestatic |
Definition at line 222 of file nintegrate_newton_cotes.hpp.
|
inlinestatic |
Definition at line 236 of file nintegrate_newton_cotes.hpp.