ROOT » MATH » MINUIT2 » ROOT::Minuit2::GenericFunction

class ROOT::Minuit2::GenericFunction

Class from which all the other classes, representing functions,
inherit. That is why it defines only one method, the operator(),
which allows to call the function.

@author Andras Zsenei and Lorenzo Moneta, Creation date: 23 Sep 2004

@ingroup Minuit

Function Members (Methods)

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

ROOT::Minuit2::GenericFunctionGenericFunction(const ROOT::Minuit2::GenericFunction&)
virtual doubleoperator()(const vector<double>& x) const
ROOT::Minuit2::GenericFunction&operator=(const ROOT::Minuit2::GenericFunction&)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

virtual ~GenericFunction()
double operator()(const vector<double>& x) const

      Evaluates the function using the vector containing the input values.

      @param x vector of the coordinates (for example the x coordinate for a
      one-dimensional Gaussian)

      @return the result of the evaluation of the function.