20 const float* ePtr1(
errors);
25 *(wPtr2++) =
weights ? *(wPtr1++) : 1.;
26 *(pPtr2++) = *(pPtr1++);
27 *(ePtr2++) = *(ePtr1++);
42 double pdf(
const double&)
const;
44 double cdf(
const double&)
const;
46 double dpdf1(
const double&)
const;
48 double dpdf2(
const double&)
const;
65 double gauss(
const double&,
const double&,
const double&)
const;
67 double gaussInt(
const double&,
const double&,
const double&)
const;
double findMode(const double) const
double cdf(const double &) const
value of integral(pdf)
double gauss(const double &, const double &, const double &) const
value of gaussian distribution
float errorHighestWeight() const
float quantile(const float) const
double combinedMean() const
mean value of combined state
GSUtilities(const unsigned nComp, const float *weights, const float *parameters, const float *errors)
constructor from arrays of weights, parameters and standard deviations
double dpdf1(const double &) const
first derivative of pdf
double dpdf2(const double &) const
second derivative of pdf
double pdf(const double &) const
value of the pdf
double gaussInt(const double &, const double &, const double &) const
integrated value of gaussian distribution
double errorCombinedMean() const