31 #ifndef ROOT_Math_Vavilov 32 #define ROOT_Math_Vavilov 144 virtual double Pdf (
double x)
const = 0;
154 virtual double Pdf (
double x,
double kappa,
double beta2) = 0;
161 virtual double Cdf (
double x)
const = 0;
171 virtual double Cdf (
double x,
double kappa,
double beta2) = 0;
178 virtual double Cdf_c (
double x)
const = 0;
188 virtual double Cdf_c (
double x,
double kappa,
double beta2) = 0;
195 virtual double Quantile (
double z)
const = 0;
205 virtual double Quantile (
double z,
double kappa,
double beta2) = 0;
212 virtual double Quantile_c (
double z)
const = 0;
222 virtual double Quantile_c (
double z,
double kappa,
double beta2) = 0;
247 virtual double GetKappa()
const = 0;
252 virtual double GetBeta2()
const = 0;
257 virtual double Mode()
const;
266 virtual double Mode(
double kappa,
double beta2);
272 virtual double Mean()
const;
297 static double Mean(
double kappa,
double beta2);
305 static double Variance(
double kappa,
double beta2);
314 static double Skewness(
double kappa,
double beta2);
323 static double Kurtosis(
double kappa,
double beta2);
Base class describing a Vavilov distribution.
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
virtual double Variance() const
Return the theoretical variance .
virtual double Cdf_c(double x) const =0
Evaluate the Vavilov complementary cumulative probability density function.
virtual double Pdf(double x) const =0
Evaluate the Vavilov probability density function.
virtual double GetLambdaMin() const =0
Return the minimum value of for which is nonzero in the current approximation.
Vavilov()
Default constructor.
virtual double Kurtosis() const
Return the theoretical kurtosis .
virtual ~Vavilov()
Destructor.
virtual double Cdf(double x) const =0
Evaluate the Vavilov cumulative probability density function.
virtual double Quantile(double z) const =0
Evaluate the inverse of the Vavilov cumulative probability density function.
virtual double Skewness() const
Return the theoretical skewness .
virtual double Mode() const
Return the value of where the pdf is maximal.
virtual double GetBeta2() const =0
Return the current value of .
virtual double Quantile_c(double z) const =0
Evaluate the inverse of the complementary Vavilov cumulative probability density function.
Namespace for new Math classes and functions.
you should not use this method at all Int_t Int_t z
virtual double GetLambdaMax() const =0
Return the maximum value of for which is nonzero in the current approximation.
virtual void SetKappaBeta2(double kappa, double beta2)=0
Change and and recalculate coefficients if necessary.
virtual double GetKappa() const =0
Return the current value of .
virtual double Mean() const
Return the theoretical mean , where is Euler's constant.