ROOT   Reference Guide
ROOT::Minuit2::GenericFunction Class Referenceabstract

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.

Definition at line 43 of file GenericFunction.h.

## Public Member Functions

virtual ~GenericFunction ()

virtual double operator() (const std::vector< double > &x) const =0
Evaluates the function using the vector containing the input values. More...

#include <Minuit2/GenericFunction.h>

Inheritance diagram for ROOT::Minuit2::GenericFunction:
[legend]

## ◆ ~GenericFunction()

 virtual ROOT::Minuit2::GenericFunction::~GenericFunction ( )
inlinevirtual

Definition at line 51 of file GenericFunction.h.

## ◆ operator()()

 virtual double ROOT::Minuit2::GenericFunction::operator() ( const std::vector< double > & x ) const
pure virtual

Evaluates the function using the vector containing the input values.

Parameters
 x vector of the coordinates (for example the x coordinate for a one-dimensional Gaussian)
Returns
the result of the evaluation of the function.

The documentation for this class was generated from the following file: