31#ifndef ROOT_Math_VavilovFast
32#define ROOT_Math_VavilovFast
144 double Pdf (
double x)
const override;
154 double Pdf (
double x,
double kappa,
double beta2)
override;
161 double Cdf (
double x)
const override;
171 double Cdf (
double x,
double kappa,
double beta2)
override;
178 double Cdf_c (
double x)
const override;
188 double Cdf_c (
double x,
double kappa,
double beta2)
override;
195 double Quantile (
double z)
const override;
205 double Quantile (
double z,
double kappa,
double beta2)
override;
222 double Quantile_c (
double z,
double kappa,
double beta2)
override;
Class describing a Vavilov distribution.
double GetBeta2() const override
Return the current value of .
~VavilovFast() override
Destructor.
double GetLambdaMax() const override
Return the maximum value of for which is nonzero in the current approximation.
static VavilovFast * fgInstance
double GetKappa() const override
Return the current value of .
double Pdf(double x) const override
Evaluate the Vavilov probability density function.
void SetKappaBeta2(double kappa, double beta2) override
Change and and recalculate coefficients if necessary.
double Quantile_c(double z) const override
Evaluate the inverse of the complementary Vavilov cumulative probability density function.
double Cdf_c(double x) const override
Evaluate the Vavilov complementary cumulative probability density function.
double Quantile(double z) const override
Evaluate the inverse of the Vavilov cumulative probability density function.
double Cdf(double x) const override
Evaluate the Vavilov cumulative probability density function.
double GetLambdaMin() const override
Return the minimum value of for which is nonzero in the current approximation.
static VavilovFast * GetInstance()
Returns a static instance of class VavilovFast.
Base class describing a Vavilov distribution.
double vavilov_fast_pdf(double x, double kappa, double beta2)
The Vavilov probability density function.
double vavilov_fast_cdf(double x, double kappa, double beta2)
The Vavilov cumulative probability density function.
double vavilov_fast_cdf_c(double x, double kappa, double beta2)
The Vavilov complementary cumulative probability density function.
double vavilov_fast_quantile(double z, double kappa, double beta2)
The inverse of the Vavilov 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.
Namespace for new Math classes and functions.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.