npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::AbsIntervalQuadrature1D Class Referenceabstract
Inheritance diagram for npstat::AbsIntervalQuadrature1D:
npstat::FejerQuadrature npstat::GaussLegendreQuadrature npstat::RectangleQuadrature1D

Public Member Functions

virtual unsigned npoints () const =0
 
virtual void getAllAbscissae (long double *absc, unsigned len) const =0
 
virtual void getAllWeights (long double *weights, unsigned len) const =0
 
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
 

Member Function Documentation

◆ weightedIntegrationPoints()

template<class Functor >
std::vector<std::pair<double,double> > npstat::AbsIntervalQuadrature1D::weightedIntegrationPoints ( const Functor &  weight,
const long double  left,
const long double  right 
) const
inline

Weighted integration points on the given interval, suitable for constructing orthogonal polynomials w.r.t. the given weight function (in particular, by ContOrthoPoly1D class). Naturally, rule with "npoints" points must be able to calculate polynomial normalization integrals exactly.


The documentation for this class was generated from the following file: