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);
double vavilov_fast_pdf(double x, double kappa, double beta2)
The Vavilov probability density function.
Base class describing a Vavilov distribution.
virtual double GetLambdaMax() const
Return the maximum value of for which is nonzero in the current approximation.
virtual ~VavilovFast()
Destructor.
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
virtual double GetKappa() const
Return the current value of .
virtual void SetKappaBeta2(double kappa, double beta2)
Change and and recalculate coefficients if necessary.
double Quantile(double z) const
Evaluate the inverse of the Vavilov cumulative probability density function.
double Cdf(double x) const
Evaluate the Vavilov cumulative probability density function.
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.
Class describing a Vavilov distribution.
double Cdf_c(double x) const
Evaluate the Vavilov complementary cumulative probability density function.
double vavilov_fast_quantile_c(double z, double kappa, double beta2)
The inverse of the complementary Vavilov cumulative 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 cumulative probability density function.
double vavilov_fast_quantile(double z, double kappa, double beta2)
The inverse of the 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 GetBeta2() const
Return the current value of .
static VavilovFast * fgInstance
double Quantile_c(double z) const
Evaluate the inverse of the complementary Vavilov cumulative probability density function.
double Pdf(double x) const
Evaluate the Vavilov probability density function.
double vavilov_fast_cdf_c(double x, double kappa, double beta2)
The Vavilov complementary cumulative probability density function.