Loading [MathJax]/extensions/tex2jax.js
Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
ROOT::Math::FitTransformFunction Class Reference

Definition at line 38 of file GSLNLSMinimizer.cxx.

Public Member Functions

 FitTransformFunction (const FitMethodFunction &f, const std::vector< EMinimVariableType > &types, const std::vector< double > &values, const std::map< unsigned int, std::pair< double, double > > &bounds)
 
 FitTransformFunction (const FitMethodFunction &f, MinimTransformFunction *transFunc)
 
 ~FitTransformFunction ()
 
IMultiGenFunctionClone () const
 
virtual double DataElement (const double *x, unsigned i, double *g=0) const
 
void GradientTransformation (const double *x, const double *gext, double *gint) const
 transform gradient vector (external -> internal) at internal point x
 
void InvStepTransformation (const double *x, const double *sext, double *sint) const
 inverse transformation for steps (external -> internal) at external point x
 
void InvTransformation (const double *xext, double *xint) const
 inverse transformation (external -> internal)
 
void MatrixTransformation (const double *x, const double *cint, double *cext) const
 
unsigned int NDim () const
 Number of dimension (parameters) .
 
unsigned int NTot () const
 
const doubleTransformation (const double *x) const
 
- Public Member Functions inherited from ROOT::Math::BasicFitMethodFunction< FunctionType >
 BasicFitMethodFunction (int dim, int npoint)
 
virtual ~BasicFitMethodFunction ()
 Virtual Destructor (no operations)
 
virtual double DataElement (const double *x, unsigned int i, double *g=0) const =0
 method returning the data i-th contribution to the fit objective function For example the residual for the least square functions or the pdf element for the likelihood functions.
 
virtual unsigned int NCalls () const
 return the total number of function calls (overrided if needed)
 
virtual unsigned int NPoints () const
 return the number of data points used in evaluating the function
 
virtual void ResetNCalls ()
 reset number of function calls
 
virtual Type_t Type () const
 return the type of method, override if needed
 
virtual void UpdateNCalls () const
 update number of calls
 

Private Member Functions

 FitTransformFunction (const FitTransformFunction &rhs)
 
double DoEval (const double *x) const
 
FitTransformFunctionoperator= (const FitTransformFunction &rhs)
 

Private Attributes

const FitMethodFunctionfFunc
 
std::vector< doublefGrad
 
bool fOwnTransformation
 
MinimTransformFunctionfTransform
 

Additional Inherited Members

- Public Types inherited from ROOT::Math::BasicFitMethodFunction< FunctionType >
typedef FunctionType::BaseFunc BaseFunction
 
enum  Type_t { kUndefined , kLeastSquare , kLogLikelihood }
 enumeration specyfing the possible fit method types More...
 
Inheritance diagram for ROOT::Math::FitTransformFunction:
[legend]

Constructor & Destructor Documentation

◆ FitTransformFunction() [1/3]

ROOT::Math::FitTransformFunction::FitTransformFunction ( const FitMethodFunction f,
const std::vector< EMinimVariableType > &  types,
const std::vector< double > &  values,
const std::map< unsigned int, std::pair< double, double > > &  bounds 
)
inline

Definition at line 42 of file GSLNLSMinimizer.cxx.

◆ FitTransformFunction() [2/3]

ROOT::Math::FitTransformFunction::FitTransformFunction ( const FitMethodFunction f,
MinimTransformFunction transFunc 
)
inline

Definition at line 55 of file GSLNLSMinimizer.cxx.

◆ ~FitTransformFunction()

ROOT::Math::FitTransformFunction::~FitTransformFunction ( )
inline

Definition at line 65 of file GSLNLSMinimizer.cxx.

◆ FitTransformFunction() [3/3]

ROOT::Math::FitTransformFunction::FitTransformFunction ( const FitTransformFunction rhs)
private

Member Function Documentation

◆ Clone()

IMultiGenFunction * ROOT::Math::FitTransformFunction::Clone ( ) const
inline

Definition at line 85 of file GSLNLSMinimizer.cxx.

◆ DataElement()

virtual double ROOT::Math::FitTransformFunction::DataElement ( const double x,
unsigned  i,
double g = 0 
) const
inlinevirtual

Definition at line 73 of file GSLNLSMinimizer.cxx.

◆ DoEval()

double ROOT::Math::FitTransformFunction::DoEval ( const double x) const
inlineprivate

Definition at line 120 of file GSLNLSMinimizer.cxx.

◆ GradientTransformation()

void ROOT::Math::FitTransformFunction::GradientTransformation ( const double x,
const double gext,
double gint 
) const
inline

transform gradient vector (external -> internal) at internal point x

Definition at line 110 of file GSLNLSMinimizer.cxx.

◆ InvStepTransformation()

void ROOT::Math::FitTransformFunction::InvStepTransformation ( const double x,
const double sext,
double sint 
) const
inline

inverse transformation for steps (external -> internal) at external point x

Definition at line 107 of file GSLNLSMinimizer.cxx.

◆ InvTransformation()

void ROOT::Math::FitTransformFunction::InvTransformation ( const double xext,
double xint 
) const
inline

inverse transformation (external -> internal)

Definition at line 104 of file GSLNLSMinimizer.cxx.

◆ MatrixTransformation()

void ROOT::Math::FitTransformFunction::MatrixTransformation ( const double x,
const double cint,
double cext 
) const
inline

Definition at line 112 of file GSLNLSMinimizer.cxx.

◆ NDim()

unsigned int ROOT::Math::FitTransformFunction::NDim ( ) const
inlinevirtual

Number of dimension (parameters) .

From IGenMultiFunction interface

Reimplemented from ROOT::Math::BasicFitMethodFunction< FunctionType >.

Definition at line 91 of file GSLNLSMinimizer.cxx.

◆ NTot()

unsigned int ROOT::Math::FitTransformFunction::NTot ( ) const
inline

Definition at line 95 of file GSLNLSMinimizer.cxx.

◆ operator=()

FitTransformFunction & ROOT::Math::FitTransformFunction::operator= ( const FitTransformFunction rhs)
private

◆ Transformation()

const double * ROOT::Math::FitTransformFunction::Transformation ( const double x) const
inline

Definition at line 100 of file GSLNLSMinimizer.cxx.

Member Data Documentation

◆ fFunc

const FitMethodFunction& ROOT::Math::FitTransformFunction::fFunc
private

Definition at line 125 of file GSLNLSMinimizer.cxx.

◆ fGrad

std::vector<double> ROOT::Math::FitTransformFunction::fGrad
mutableprivate

Definition at line 127 of file GSLNLSMinimizer.cxx.

◆ fOwnTransformation

bool ROOT::Math::FitTransformFunction::fOwnTransformation
private

Definition at line 124 of file GSLNLSMinimizer.cxx.

◆ fTransform

MinimTransformFunction* ROOT::Math::FitTransformFunction::fTransform
private

Definition at line 126 of file GSLNLSMinimizer.cxx.

  • math/mathmore/src/GSLNLSMinimizer.cxx