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 | ~GradFunctor1D() |
virtual ROOT::Math::GradFunctor1D::ImplBase* | Clone() const |
double | ROOT::Math::IGradientOneDim::Derivative(double x) const |
double | ROOT::Math::IGradientOneDim::Derivative(const double* x) const |
virtual void | ROOT::Math::IGradientFunctionOneDim::FdF(double x, double& f, double& df) const |
ROOT::Math::GradFunctor1D | GradFunctor1D() |
ROOT::Math::GradFunctor1D | GradFunctor1D(const ROOT::Math::GradFunctor1D&) |
ROOT::Math::GradFunctor1D | GradFunctor1D(void* p1, void* p2) |
ROOT::Math::GradFunctor1D | GradFunctor1D(void* p1, const char* className, const char* methodName, const char* derivName) |
void | ROOT::Math::IGradientOneDim::Gradient(const double* x, double* g) const |
double | ROOT::Math::IBaseFunctionOneDim::operator()(double x) const |
double | ROOT::Math::IBaseFunctionOneDim::operator()(const double* x) const |
ROOT::Math::GradFunctor1D& | operator=(const ROOT::Math::GradFunctor1D& rhs) |
virtual double | DoDerivative(double x) const |
virtual double | DoEval(double x) const |
auto_ptr<ROOT::Math::IGradientFunctionOneDim> | fImpl | pointer to base gradient functor handler |
construct from an object with the right signature implementing both operator() (double x) and Derivative(double x)
{}
construct from a pointer to class and two pointers to member functions, one for the function evaluation and the other for the derivative. The member functions must take a double as argument and return a double
{}