Documentation for class Functor class. It is used to wrap in a very simple and convenient way multi-dimensional function objects. It can wrap all the following types: <ul> <li> any C++ callable object implemention double operator()( const double * ) <li> a free C function of type double ()(double * ) <li> a member function with the correct signature like Foo::Eval(const double * ). In this case one pass the object pointer and a pointer to the member function (&Foo::Eval) </ul> The function dimension is required when constructing the functor. @ingroup GenFunc
virtual | ~GradFunctor() |
virtual ROOT::Math::GradFunctor::ImplBase* | Clone() const |
double | ROOT::Math::IGradientMultiDim::Derivative(const double* x, unsigned int icoord = 0) const |
virtual void | ROOT::Math::IGradientFunctionMultiDim::FdF(const double* x, double& f, double* df) const |
ROOT::Math::GradFunctor | GradFunctor() |
ROOT::Math::GradFunctor | GradFunctor(const ROOT::Math::GradFunctor&) |
ROOT::Math::GradFunctor | GradFunctor(void* p1, void* p2, unsigned int dim) |
ROOT::Math::GradFunctor | GradFunctor(void* p1, unsigned int dim, const char* className, const char* methodName, const char* derivName) |
virtual void | ROOT::Math::IGradientFunctionMultiDim::Gradient(const double* x, double* grad) const |
virtual unsigned int | NDim() const |
double | ROOT::Math::IBaseFunctionMultiDim::operator()(const double* x) const |
ROOT::Math::GradFunctor& | operator=(const ROOT::Math::GradFunctor& rhs) |
virtual double | DoDerivative(const double* x, unsigned int icoord) const |
virtual double | DoEval(const double* x) const |
auto_ptr<ROOT::Math::IGradientFunctionMultiDim> | fImpl | pointer to base grad functor handler |
construct from a callable object of multi-dimension implementing operator()(const double *x) and Derivative(const double * x,icoord)
{}
construct from a pointer to member function and member function types for function and derivative evaluations
{}
construct for Gradient Functions of multi-dimension Func gives the function evaluatiion, GradFunc the partial derivatives The function dimension is required
{ }