50 for (
int i = 0; i < 5; ++i)
70 for (
int i = 0; i < 5; ++i)
80 case 0:
return "Norm";
break;
81 case 1:
return "x0";
break;
82 case 2:
return "xi";
break;
83 case 3:
return "kappa";
break;
84 case 4:
return "beta2";
break;
91 return fP[0]*
v.Cdf ((
x-
fP[1])/
fP[2]);
98 return p[0]*
v.Cdf ((
x-
p[1])/
p[2]);
winID h TVirtualViewer3D TVirtualGLPainter p
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
unsigned int NPar() const override
Return the number of Parameters.
IBaseFunctionOneDim * Clone() const override
Return a clone of the object.
VavilovAccurateCdf()
Default constructor.
~VavilovAccurateCdf() override
Destructor.
const double * Parameters() const override
Access the parameter values.
std::string ParameterName(unsigned int i) const override
Return the name of the i-th parameter (starting from zero) Overwrite if want to avoid the default nam...
void SetParameters(const double *p) override
Set the parameter values.
double DoEvalPar(double x, const double *p) const override
Evaluate the function, using parameters p.
double DoEval(double x) const override
Evaluate the function.
Class describing a Vavilov distribution.
Namespace for new Math classes and functions.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.