+
class ROOT::Math::IGradientFunction<ROOT::Math::MultiDim>
-
library: libMathCore
#include "IFunction.h"
Display options:
Show inherited
Show non-public

class ROOT::Math::IGradientFunction<ROOT::Math::MultiDim>: public ROOT::Math::IBaseFunction<ROOT::Math::MultiDim>, public ROOT::Math::IGradient<ROOT::Math::MultiDim>

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~IGradientFunction<ROOT::Math::MultiDim>()
virtual ROOT::Math::IBaseFunction<ROOT::Math::MultiDim>*ROOT::Math::IBaseFunction<ROOT::Math::MultiDim>::Clone() const
virtual voidFdF(const double* x, double& f, double* df) const
virtual voidGradient(const double* x, double* grad) const
virtual unsigned intROOT::Math::IBaseFunction<ROOT::Math::MultiDim>::NDim() const
doubleROOT::Math::IBaseFunction<ROOT::Math::MultiDim>::operator()(const double* x) const
ROOT::Math::IGradientFunction<ROOT::Math::MultiDim>&operator=(const ROOT::Math::IGradientFunction<ROOT::Math::MultiDim>&)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void Gradient(const double* x, double* grad) const
Evaluate all the vector of function derivatives (gradient)  at a point x.
Derived classes must re-implement if it is more efficient than evaluting one at a time

void FdF(const double* x, double& f, double* df) const
Optimized method to evaluate at the same time the function value and derivative at a point x.
Often both value and derivatives are needed and it is often more efficient to compute them at the same time.
Derived class should implement this method if performances play an important role and if it is faster to
valuate value and derivative at the same tim



Last update: Mon Jun 25 19:39:36 2007

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.