18 #ifndef itkTDistribution_h
19 #define itkTDistribution_h
23 #include "ITKStatisticsExport.h"
80 virtual double EvaluatePDF(
double x)
const ITK_OVERRIDE;
85 virtual double EvaluatePDF(
double x,
const ParametersType &) const ITK_OVERRIDE;
89 virtual
double EvaluatePDF(
double x,
SizeValueType degreesOfFreedom) const;
93 virtual
double EvaluateCDF(
double x) const ITK_OVERRIDE;
98 virtual
double EvaluateCDF(
double x, const ParametersType &) const ITK_OVERRIDE;
102 virtual
double EvaluateCDF(
double x,
SizeValueType degreesOfFreedom) const;
107 virtual
double EvaluateInverseCDF(
double p) const ITK_OVERRIDE;
113 virtual
double EvaluateInverseCDF(
double p, const ParametersType &) const ITK_OVERRIDE;
118 virtual
double EvaluateInverseCDF(
double p,
SizeValueType degreesOfFreedom) const;
126 virtual SizeValueType GetDegreesOfFreedom() const;
129 virtual
bool HasMean() const ITK_OVERRIDE {
return true; }
132 virtual double GetMean() const ITK_OVERRIDE;
136 virtual
bool HasVariance() const ITK_OVERRIDE;
140 virtual
double GetVariance() const ITK_OVERRIDE;
147 static
double PDF(
double x, const ParametersType &);
164 static
double CDF(
double x, const ParametersType &);
186 static
double InverseCDF(
double p, const ParametersType &);
198 static
double InverseCDF(
double p,
SizeValueType degreesOfFreedom);
202 virtual ~TDistribution(
void) {}
204 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
208 void operator=(
const Self &);
Light weight base class for most itk classes.
ProbabilityDistribution class defines common interface for statistical distributions (pdfs...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
unsigned long SizeValueType
ProbabilityDistribution Superclass
virtual SizeValueType GetNumberOfParameters() const override
TDistribution class defines the interface for a univariate Student-t distribution (pdfs...
Control indentation during Print() invocation.