18 #ifndef itkGaussianDistribution_h
19 #define itkGaussianDistribution_h
22 #include "ITKStatisticsExport.h"
85 double EvaluatePDF(
double x)
const override;
90 double EvaluatePDF(
double x,
const ParametersType &)
const override;
94 virtual double EvaluatePDF(
double x,
double mean,
double variance)
const;
98 double EvaluateCDF(
double x)
const override;
103 double EvaluateCDF(
double x,
const ParametersType &)
const override;
107 virtual double EvaluateCDF(
double x,
double mean,
double variance)
const;
112 double EvaluateInverseCDF(
double p)
const override;
118 double EvaluateInverseCDF(
double p,
const ParametersType &)
const override;
123 virtual double EvaluateInverseCDF(
double p,
125 double variance)
const;
129 virtual void SetMean(
double);
133 double GetMean()
const override;
136 bool HasMean()
const override {
return true; }
141 virtual void SetVariance(
double);
145 double GetVariance()
const override;
154 static double PDF(
double x);
161 static double PDF(
double x,
const ParametersType &);
167 static double PDF(
double x,
double mean,
double variance);
173 static double CDF(
double x);
180 static double CDF(
double x,
const ParametersType &);
186 static double CDF(
double x,
double mean,
double variance);
218 static double InverseCDF(
double p);
227 static double InverseCDF(
double p,
const ParametersType &);
234 static double InverseCDF(
double p,
double mean,
double variance);
240 void PrintSelf(std::ostream & os,
Indent indent)
const override;
SizeValueType GetNumberOfParameters() const override
bool HasVariance() const override
Light weight base class for most itk classes.
ProbabilityDistribution class defines common interface for statistical distributions (pdfs...
unsigned long SizeValueType
bool HasMean() const override
GaussianDistribution class defines the interface for a univariate Gaussian distribution (pdfs...
Control indentation during Print() invocation.