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]);
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
virtual double DoEvalPar(double x, const double *p) const
Evaluate the function, using parameters p.
virtual double DoEval(double x) const
Evaluate the function.
VavilovAccurateCdf()
Default constructor.
virtual ~VavilovAccurateCdf()
Destructor.
virtual IBaseFunctionOneDim * Clone() const
Return a clone of the object.
virtual void SetParameters(const double *p)
Set the parameter values.
virtual std::string ParameterName(unsigned int i) const
Return the name of the i-th parameter (starting from zero) Overwrite if want to avoid the default nam...
virtual const double * Parameters() const
Access the parameter values.
virtual unsigned int NPar() const
Return the number of Parameters.
Class describing a Vavilov distribution.
Namespace for new Math classes and functions.