+
class ROOT::Minuit2::FumiliFCNBase
-
library: libMinuit2
#include "FumiliFCNBase.h"
Display options:
Show inherited
Show non-public

class ROOT::Minuit2::FumiliFCNBase: public ROOT::Minuit2::FCNBase

Function Members (Methods)

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

public:
virtual~FumiliFCNBase()
virtual unsigned intDimension()
virtual doubleROOT::Minuit2::FCNBase::ErrorDef() const
virtual voidEvaluateAll(const vector<double>& par)
virtual const vector<double>&Gradient() const
virtual doubleHessian(unsigned int row, unsigned int col) const
virtual doubleROOT::Minuit2::FCNBase::operator()(const vector<double>& x) const
ROOT::Minuit2::FCNBase&ROOT::Minuit2::FCNBase::operator=(const ROOT::Minuit2::FCNBase&)
virtual voidROOT::Minuit2::FCNBase::SetErrorDef(double)
virtual doubleROOT::Minuit2::FCNBase::Up() const
virtual doubleValue() const
protected:
vector<double>&Gradient()
vector<double>&Hessian()
virtual voidInitAndReset(unsigned int npar)
voidSetFCNValue(double Value)

Data Members

private:
vector<double>fGradient
vector<double>fHessian
const ROOT::Minuit2::ParametricFunction*fModelFunction
unsigned intfNumberOfParameters
doublefValue

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

InitAndReset(unsigned int npar)
virtual ~FumiliFCNBase()
   FumiliFCNBase(const ParametricFunction& modelFCN) { fModelFunction = &modelFCN; }
{}
void EvaluateAll(const vector<double>& par)

Evaluate function Value, Gradient and Hessian using Fumili approximation, for values of parameters p
The resul is cached inside and is return from the FumiliFCNBase::Value ,  FumiliFCNBase::Gradient and
FumiliFCNBase::Hessian methods

@param par vector of parameters


double Value()
Return cached Value of objective function estimated previously using the  FumiliFCNBase::EvaluateAll method


{ return fValue; }
const std::vector<double> & Gradient()
Return cached Value of function Gradient estimated previously using the  FumiliFCNBase::EvaluateAll method

{ return fGradient; }
double Hessian(unsigned int row, unsigned int col) const
Return Value of the i-th j-th element of the Hessian matrix estimated previously using the  FumiliFCNBase::EvaluateAll method
@param row row Index of the matrix
@param col col Index of the matrix

unsigned int Dimension()
return number of function variable (parameters) , i.e. function dimension

{ return fNumberOfParameters; }
void SetFCNValue(double Value)
 methods to be used by the derived classes to set the values
{ fValue = Value; }
std::vector<double> & Gradient()
{ return fGradient; }
std::vector<double> & Hessian()
{ return fHessian; }

Last update: Mon Jun 25 19:41:02 2007

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.