BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
ROOT::Minuit2::GenericFunction Class Referenceabstract

Description

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.

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

Public Member Functions

virtual ~GenericFunction ()
 
virtual double operator() (const std::vector< double > &x) const =0
 

Constructor & Destructor Documentation

◆ ~GenericFunction()

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

Definition at line 39 of file GenericFunction.h.

39 {}

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::ParametricFunction, ROOT::Minuit2::FCNBase, ROOT::Minuit2::FumiliFCNAdapter< Function >, ROOT::Minuit2::FCNGradAdapter< Function >, ROOT::Minuit2::FCNAdapter< Function >, ROOT::Minuit2::FumiliMaximumLikelihoodFCN, and ROOT::Minuit2::FumiliChi2FCN.


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