18 #ifndef itkProbabilityDistribution_h
19 #define itkProbabilityDistribution_h
25 #include "ITKStatisticsExport.h"
105 virtual double EvaluatePDF(
double x)
const = 0;
110 virtual double EvaluatePDF(
double x,
const ParametersType &)
const = 0;
115 virtual double EvaluateCDF(
double x)
const = 0;
120 virtual double EvaluateCDF(
double x,
const ParametersType &)
const = 0;
126 virtual double EvaluateInverseCDF(
double p)
const = 0;
132 virtual double EvaluateInverseCDF(
double p,
const ParametersType &)
const = 0;
135 virtual bool HasMean()
const = 0;
138 virtual bool HasVariance()
const = 0;
142 virtual double GetMean()
const = 0;
146 virtual double GetVariance()
const = 0;
151 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
ProbabilityDistribution class defines common interface for statistical distributions (pdfs...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
unsigned long SizeValueType
Control indentation during Print() invocation.
Base class for most ITK classes.
ProbabilityDistribution Self
Array< double > ParametersType