18 #ifndef itkGaussianDistribution_h
19 #define itkGaussianDistribution_h
22 #include "ITKStatisticsExport.h"
83 virtual double EvaluatePDF(
double x)
const ITK_OVERRIDE;
88 virtual double EvaluatePDF(
double x,
const ParametersType &) const ITK_OVERRIDE;
92 virtual
double EvaluatePDF(
double x,
double mean,
double variance) const;
96 virtual
double EvaluateCDF(
double x) const ITK_OVERRIDE;
101 virtual
double EvaluateCDF(
double x, const ParametersType &) const ITK_OVERRIDE;
105 virtual
double EvaluateCDF(
double x,
double mean,
double variance) const;
110 virtual
double EvaluateInverseCDF(
double p) const ITK_OVERRIDE;
116 virtual
double EvaluateInverseCDF(
double p, const ParametersType &) const ITK_OVERRIDE;
121 virtual
double EvaluateInverseCDF(
double p,
123 double variance) const;
127 virtual
void SetMean(
double);
131 virtual
double GetMean() const ITK_OVERRIDE;
134 virtual
bool HasMean() const ITK_OVERRIDE {
return true; }
139 virtual void SetVariance(
double);
143 virtual double GetVariance() const ITK_OVERRIDE;
146 virtual
bool HasVariance() const ITK_OVERRIDE {
return true; }
152 static double PDF(
double x);
159 static double PDF(
double x,
const ParametersType &);
165 static double PDF(
double x,
double mean,
double variance);
171 static double CDF(
double x);
178 static double CDF(
double x,
const ParametersType &);
184 static double CDF(
double x,
double mean,
double variance);
216 static double InverseCDF(
double p);
225 static double InverseCDF(
double p,
const ParametersType &);
232 static double InverseCDF(
double p,
double mean,
double variance);
238 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
242 void operator=(
const Self &);
ProbabilityDistribution Superclass
Light weight base class for most itk classes.
ProbabilityDistribution class defines common interface for statistical distributions (pdfs...
SmartPointer< const Self > ConstPointer
virtual ~GaussianDistribution(void)
SmartPointer< Self > Pointer
unsigned long SizeValueType
GaussianDistribution Self
virtual SizeValueType GetNumberOfParameters() const override
GaussianDistribution class defines the interface for a univariate Gaussian distribution (pdfs...
Control indentation during Print() invocation.