31 #ifndef ROOT_Math_VavilovFast
32 #define ROOT_Math_VavilovFast
144 double Pdf (
double x)
const;
154 double Pdf (
double x,
double kappa,
double beta2);
161 double Cdf (
double x)
const;
171 double Cdf (
double x,
double kappa,
double beta2);
178 double Cdf_c (
double x)
const;
188 double Cdf_c (
double x,
double kappa,
double beta2);
205 double Quantile (
double z,
double kappa,
double beta2);
222 double Quantile_c (
double z,
double kappa,
double beta2);
virtual double GetBeta2() const
Return the current value of .
double vavilov_fast_pdf(double x, double kappa, double beta2)
The Vavilov probability density function.
double Quantile_c(double z) const
Evaluate the inverse of the complementary Vavilov cummulative probability density function...
Base class describing a Vavilov distribution.
virtual ~VavilovFast()
Destructor.
Namespace for new ROOT classes and functions.
virtual void SetKappaBeta2(double kappa, double beta2)
Change and and recalculate coefficients if necessary.
virtual double GetLambdaMin() const
Return the minimum value of for which is nonzero in the current approximation.
VavilovFast(double kappa=1, double beta2=1)
Initialize an object to calculate the Vavilov distribution.
double Cdf_c(double x) const
Evaluate the Vavilov complementary cummulative probability density function.
double Cdf(double x) const
Evaluate the Vavilov cummulative probability density function.
Class describing a Vavilov distribution.
double vavilov_fast_quantile_c(double z, double kappa, double beta2)
The inverse of the complementary Vavilov cummulative probability density function.
static VavilovFast * GetInstance()
Returns a static instance of class VavilovFast.
double vavilov_fast_cdf(double x, double kappa, double beta2)
The Vavilov cummulative probability density function.
double vavilov_fast_quantile(double z, double kappa, double beta2)
The inverse of the Vavilov cummulative probability density function.
Namespace for new Math classes and functions.
static VavilovFast * fgInstance
virtual double GetKappa() const
Return the current value of .
double Quantile(double z) const
Evaluate the inverse of the Vavilov cummulative probability density function.
double vavilov_fast_cdf_c(double x, double kappa, double beta2)
The Vavilov complementary cummulative probability density function.
virtual double GetLambdaMax() const
Return the maximum value of for which is nonzero in the current approximation.
double Pdf(double x) const
Evaluate the Vavilov probability density function.