vSMC
vSMC: Scalable Monte Carlo
|
Numerical integration base dispatch class. More...
#include <vsmc/integrate/nintegrate_base.hpp>
Protected Types | |
typedef cxx11::function< double(double)> | eval_type |
typedef std::size_t | size_type |
Protected Member Functions | |
NIntegrateBase () | |
NIntegrateBase (const NIntegrateBase< Derived > &) | |
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< Derived > & | operator= (const NIntegrateBase< Derived > &) |
Numerical integration base dispatch class.
Definition at line 60 of file nintegrate_base.hpp.
|
protected |
Definition at line 65 of file nintegrate_base.hpp.
|
protected |
Definition at line 64 of file nintegrate_base.hpp.
|
inlineprotected |
Definition at line 67 of file nintegrate_base.hpp.
|
inlineprotected |
Definition at line 68 of file nintegrate_base.hpp.
|
inlineprotectedvirtual |
Definition at line 71 of file nintegrate_base.hpp.
|
inlineprotected |
Integrate a segment on the grid.
a | The leftmost of the segment |
b | The rightmost of the segment |
eval | The functor used for evaluation |
Definition at line 78 of file nintegrate_base.hpp.
|
inlineprotected |
Definition at line 84 of file nintegrate_base.hpp.
|
inlineprotected |
Definition at line 69 of file nintegrate_base.hpp.