18 #ifndef itkProbabilityDistribution_h
19 #define itkProbabilityDistribution_h
25 #include "ITKStatisticsExport.h"
107 virtual double EvaluatePDF(
double x)
const = 0;
112 virtual double EvaluatePDF(
double x,
const ParametersType &)
const = 0;
117 virtual double EvaluateCDF(
double x)
const = 0;
122 virtual double EvaluateCDF(
double x,
const ParametersType &)
const = 0;
128 virtual double EvaluateInverseCDF(
double p)
const = 0;
134 virtual double EvaluateInverseCDF(
double p,
const ParametersType &)
const = 0;
137 virtual bool HasMean()
const = 0;
140 virtual bool HasVariance()
const = 0;
144 virtual double GetMean()
const = 0;
148 virtual double GetVariance()
const = 0;
153 void PrintSelf(std::ostream & os,
Indent indent)
const override;
Light weight base class for most itk classes.
ProbabilityDistribution class defines common interface for statistical distributions (pdfs...
unsigned long SizeValueType
ParametersType m_Parameters
Control indentation during Print() invocation.
Base class for most ITK classes.