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 36 of file GenericFunction.h.
Public Member Functions | |
virtual | ~GenericFunction () |
virtual double | operator() (std::vector< double > const &x) const =0 |
Evaluates the function using the vector containing the input values. | |
#include <Minuit2/GenericFunction.h>
|
inlinevirtual |
Definition at line 39 of file GenericFunction.h.
|
pure virtual |
Evaluates the function using the vector containing the input values.
x | vector of the coordinates (for example the x coordinate for a one-dimensional Gaussian) |
Implemented in ROOT::Minuit2::FumiliChi2FCN, ROOT::Minuit2::FumiliMaximumLikelihoodFCN, ROOT::Minuit2::FCNAdapter< Function >, ROOT::Minuit2::FCNGradAdapter< Function >, ROOT::Minuit2::FumiliFCNAdapter< Function >, ROOT::Minuit2::FCNBase, and ROOT::Minuit2::ParametricFunction.