npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
johnsonIntegral.hh
Go to the documentation of this file.
1 #ifndef NPSTAT_JOHNSONINTEGRAL_HH_
2 #define NPSTAT_JOHNSONINTEGRAL_HH_
3 
4 /*!
5 // \file johnsonIntegral.hh
6 //
7 // \brief Integrate a function multiplied by one of the Johnson curves
8 //
9 // Author: I. Volobouev
10 //
11 // November 2022
12 */
13 
16 
17 namespace npstat {
18  // The integration is performed using a transformation which
19  // converts the Johnson curve into the standard normal. Then
20  // the Gauss-Hermite quadrature is used. "nIntegrationPoints"
21  // must be supported by the "GaussHermiteQuadrature" class.
22  double johnsonIntegral(const AbsDistribution1D& johnsonCurve,
23  const Functor1<double,double>& fcn,
24  unsigned nIntegrationPoints);
25 }
26 
27 #endif // NPSTAT_JOHNSONINTEGRAL_HH_
Interface definition for 1-d continuous statistical distributions.
Interface definitions and concrete simple functors for a variety of functor-based calculations.
Definition: AbsArrayProjector.hh:14