npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
rectangleQuadrature.hh
Go to the documentation of this file.
1 #ifndef NPSTAT_RECTANGLEQUADRATURE_HH_
2 #define NPSTAT_RECTANGLEQUADRATURE_HH_
3 
4 /*!
5 // \file rectangleQuadrature.hh
6 //
7 // \brief Gaussian quadratures on rectangles and hyperrectangles using tensor
8 // product integration
9 //
10 // Author: I. Volobouev
11 //
12 // December 2010
13 */
14 
16 
17 namespace npstat {
18  /**
19  // The "integrationPoints" parameter below must be one of the number
20  // of points supported by the GaussLegendreQuadrature class. See the
21  // corresponding header file for the list of allowed values.
22  //
23  // Naturally, length of the "rectangleCenter" and "rectangleSize"
24  // arrays (with obvious meaning) should be at least "dim".
25  */
27  const double* rectangleCenter,
28  const double* rectangleSize,
29  unsigned dim,
30  unsigned integrationPoints);
31 }
32 
33 #endif // NPSTAT_RECTANGLEQUADRATURE_HH_
Interface definition for multidimensional functors.
Definition: AbsArrayProjector.hh:14
double rectangleIntegralCenterAndSize(const AbsMultivariateFunctor &f, const double *rectangleCenter, const double *rectangleSize, unsigned dim, unsigned integrationPoints)
Definition: AbsMultivariateFunctor.hh:19