18 const float* wPtr1(weights);
19 const float* pPtr1(parameters);
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;
float quantile(const float) const
double errorCombinedMean() const
double cdf(const double &) const
value of integral(pdf)
double findMode(const double) const
double gaussInt(const double &, const double &, const double &) const
integrated value of gaussian distribution
GSUtilities(const unsigned nComp, const float *weights, const float *parameters, const float *errors)
constructor from arrays of weights, parameters and standard deviations
double pdf(const double &) const
value of the pdf
double dpdf2(const double &) const
second derivative of pdf
float errorHighestWeight() const
double combinedMean() const
mean value of combined state
double dpdf1(const double &) const
first derivative of pdf
double gauss(const double &, const double &, const double &) const
value of gaussian distribution