69 _func(
"function",
"function",this,func),
74 if (_order<0 || _order>3 ) {
75 throw std::string(
Form(
"RooDerivative::ctor(%s) ERROR, derivation order must be 1,2 or 3",name)) ;
86 _func(
"function",
"function",this,func),
91 if (_order<0 || _order>3) {
92 throw std::string(
Form(
"RooDerivative::ctor(%s) ERROR, derivation order must be 1,2 or 3",name)) ;
107 _x(
"x",this,other.
_x),
double Derivative3(double x)
Returns the third derivative of the function at point x, computed by Richardson's extrapolation metho...
RooDerivative()
Default constructor.
Bool_t redirectServersHook(const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
Zap functor and derivator ;.
double Derivative2(double x)
Returns the second derivative of the function at point x, computed by Richardson's extrapolation meth...
Template class to wrap any C++ callable object which takes one argument i.e.
double Derivative1(double x)
Returns the first derivative of the function at point x, computed by Richardson's extrapolation metho...
Double_t evaluate() const
Derivator.
RooRealVar represents a fundamental (non-derived) real valued object.
char * Form(const char *fmt,...)
Double_t min(const char *rname=0) const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual ~RooDerivative()
Destructor.
double func(double *x, double *p)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
ROOT::Math::RichardsonDerivator * _rd
Functor binding of RooAbsReal.
RooDerivative represents the first, second, or third order derivative of any RooAbsReal as calculated...
Double_t max(const char *rname=0) const
RooFunctor * functor(const RooArgList &obs, const RooArgList &pars=RooArgList(), const RooArgSet &nset=RooArgSet()) const
Return a RooFunctor object bound to this RooAbsReal with given definition of observables and paramete...
const RooAbsReal & arg() const
User class for calculating the derivatives of a function.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Overloaded RooArgSet::add() method inserts 'var' into set and registers 'var' as server to owner with...