18 #ifndef itkTDistribution_h
19 #define itkTDistribution_h
23 #include "ITKStatisticsExport.h"
82 double EvaluatePDF(
double x)
const override;
87 double EvaluatePDF(
double x,
const ParametersType &)
const override;
91 virtual double EvaluatePDF(
double x,
SizeValueType degreesOfFreedom)
const;
95 double EvaluateCDF(
double x)
const override;
100 double EvaluateCDF(
double x,
const ParametersType &)
const override;
104 virtual double EvaluateCDF(
double x,
SizeValueType degreesOfFreedom)
const;
109 double EvaluateInverseCDF(
double p)
const override;
115 double EvaluateInverseCDF(
double p,
const ParametersType &)
const override;
120 virtual double EvaluateInverseCDF(
double p,
SizeValueType degreesOfFreedom)
const;
131 bool HasMean()
const override {
return true; }
134 double GetMean()
const override;
138 bool HasVariance()
const override;
142 double GetVariance()
const override;
149 static double PDF(
double x,
const ParametersType &);
166 static double CDF(
double x,
const ParametersType &);
188 static double InverseCDF(
double p,
const ParametersType &);
200 static double InverseCDF(
double p,
SizeValueType degreesOfFreedom);
206 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
SizeValueType GetNumberOfParameters() const override
TDistribution class defines the interface for a univariate Student-t distribution (pdfs...
Control indentation during Print() invocation.
bool HasMean() const override