npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
distro1DStats.hh
Go to the documentation of this file.
1 #ifndef NPSTAT_DISTRO1DSTATS_HH_
2 #define NPSTAT_DISTRO1DSTATS_HH_
3 
4 /*!
5 // \file distro1DStats.hh
6 //
7 // \brief Empirical moments of 1-d distributions using simple rectangle
8 // integration (so that densities do not have to be very smooth)
9 //
10 // Author: I. Volobouev
11 //
12 // July 2015
13 */
14 
16 
17 namespace npstat {
18  void distro1DStats(const AbsDistribution1D& distro,
19  double xmin, double xmax, unsigned nPointsToUse,
20  double* mean, double* stdev,
21  double* skewness=0, double* kurtosis=0);
22 }
23 
24 #endif // NPSTAT_DISTRO1DSTATS_HH_
Interface definition for 1-d continuous statistical distributions.
Definition: AbsArrayProjector.hh:14