Logo ROOT   6.13/01
Reference Guide
List of all members | Public Member Functions | List of all members
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.

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

Definition at line 35 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]

Constructor & Destructor Documentation

◆ ~GenericFunction()

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

Definition at line 39 of file GenericFunction.h.

Member Function Documentation

◆ 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
xvector of the coordinates (for example the x coordinate for a one-dimensional Gaussian)
Returns
the result of the evaluation of the function.

Implemented in ROOT::Minuit2::FumiliChi2FCN, ROOT::Minuit2::FumiliMaximumLikelihoodFCN, ROOT::Minuit2::ParametricFunction, ROOT::Minuit2::FCNBase, ROOT::Minuit2::FumiliFCNAdapter< Function >, ROOT::Minuit2::FCNGradAdapter< Function >, and ROOT::Minuit2::FCNAdapter< Function >.


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