npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
polyPrivateUtils.hh
1 #ifndef NPSTAT_POLYPRIVATEUTILS_HH_
2 #define NPSTAT_POLYPRIVATEUTILS_HH_
3 
4 //======================================================================
5 // polyPrivateUtils.hh
6 //
7 // This is an internal header which is subject to change without
8 // notice. Application code should never use classes or functions
9 // declared/defined in this header directly.
10 //
11 // Author: I. Volobouev
12 //
13 // October 2022
14 //======================================================================
15 
17 #include "npstat/nm/Matrix.hh"
18 
19 namespace npstat {
20  namespace Private {
21  template<class Poly, class Functor, typename Real>
22  void extWeightAverages(const Poly& poly, const Functor& fcn,
23  const AbsIntervalQuadrature1D& quad,
24  unsigned maxdeg, double xmin, double xmax,
25  Real* averages);
26 
27  template <class Poly, class Functor>
28  Matrix<double> extWeightProductAverages(
29  const Poly& poly, const Functor& fcn,
30  const AbsIntervalQuadrature1D& quad,
31  unsigned maxdeg, double xmin, double xmax);
32  }
33 }
34 
35 #include "npstat/nm/polyPrivateUtils.icc"
36 
37 #endif // NPSTAT_POLYPRIVATEUTILS_HH_
Base class for quadratures on the [-1, 1] interval.
Template matrix class.
Definition: AbsArrayProjector.hh:14