|
enum | { interval_quadrature = 1
} |
|
|
| RectangleQuadrature1D (unsigned npoints) |
|
unsigned | npoints () const |
|
void | getAllAbscissae (long double *abscissae, unsigned len) const |
|
void | getAllWeights (long double *weights, unsigned len) const |
|
template<typename FcnResult , typename FcnArg > |
long double | integrate (const Functor1< FcnResult, FcnArg > &fcn, long double a, long double b) const |
|
template<class Functor > |
std::vector< std::pair< double, double > > | weightedIntegrationPoints (const Functor &weight, const long double left, const long double right) const |
|
template<class Functor > |
std::vector< std::pair< long double, long double > > | weightedIntegrationPointsLD (const Functor &weight, const long double left, const long double right) const |
|
◆ integrate()
template<typename FcnResult , typename FcnArg >
long double npstat::RectangleQuadrature1D::integrate |
( |
const Functor1< FcnResult, FcnArg > & |
fcn, |
|
|
long double |
a, |
|
|
long double |
b |
|
) |
| const |
Perform the quadrature on the [a, b] interval
The documentation for this class was generated from the following file: