Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Fit::FitUtil::SimpleGradientCalculator Class Reference

Definition at line 67 of file FitUtil.cxx.

Public Member Functions

 SimpleGradientCalculator (int gdim, const IModelFunction &func, double eps=2.E-8, int istrat=1)
 
double DoParameterDerivative (const double *x, const double *p, double f0, int k) const
 
void Gradient (const double *x, const double *p, double f0, double *g)
 
unsigned int NDim () const
 
unsigned int NPar () const
 
double ParameterDerivative (const double *x, const double *p, int ipar) const
 
void ParameterGradient (const double *x, const double *p, double f0, double *g)
 

Private Attributes

double fEps
 
const IModelFunctionfFunc
 
unsigned int fN
 
double fPrecision
 
int fStrategy
 
std::vector< doublefVec
 

Constructor & Destructor Documentation

◆ SimpleGradientCalculator()

ROOT::Fit::FitUtil::SimpleGradientCalculator::SimpleGradientCalculator ( int  gdim,
const IModelFunction func,
double  eps = 2.E-8,
int  istrat = 1 
)
inline

Definition at line 77 of file FitUtil.cxx.

Member Function Documentation

◆ DoParameterDerivative()

double ROOT::Fit::FitUtil::SimpleGradientCalculator::DoParameterDerivative ( const double x,
const double p,
double  f0,
int  k 
) const
inline

Definition at line 88 of file FitUtil.cxx.

◆ Gradient()

void ROOT::Fit::FitUtil::SimpleGradientCalculator::Gradient ( const double x,
const double p,
double  f0,
double g 
)
inline

Definition at line 133 of file FitUtil.cxx.

◆ NDim()

unsigned int ROOT::Fit::FitUtil::SimpleGradientCalculator::NDim ( ) const
inline

Definition at line 108 of file FitUtil.cxx.

◆ NPar()

unsigned int ROOT::Fit::FitUtil::SimpleGradientCalculator::NPar ( ) const
inline

Definition at line 112 of file FitUtil.cxx.

◆ ParameterDerivative()

double ROOT::Fit::FitUtil::SimpleGradientCalculator::ParameterDerivative ( const double x,
const double p,
int  ipar 
) const
inline

Definition at line 116 of file FitUtil.cxx.

◆ ParameterGradient()

void ROOT::Fit::FitUtil::SimpleGradientCalculator::ParameterGradient ( const double x,
const double p,
double  f0,
double g 
)
inline

Definition at line 124 of file FitUtil.cxx.

Member Data Documentation

◆ fEps

double ROOT::Fit::FitUtil::SimpleGradientCalculator::fEps
private

Definition at line 157 of file FitUtil.cxx.

◆ fFunc

const IModelFunction& ROOT::Fit::FitUtil::SimpleGradientCalculator::fFunc
private

Definition at line 161 of file FitUtil.cxx.

◆ fN

unsigned int ROOT::Fit::FitUtil::SimpleGradientCalculator::fN
private

Definition at line 160 of file FitUtil.cxx.

◆ fPrecision

double ROOT::Fit::FitUtil::SimpleGradientCalculator::fPrecision
private

Definition at line 158 of file FitUtil.cxx.

◆ fStrategy

int ROOT::Fit::FitUtil::SimpleGradientCalculator::fStrategy
private

Definition at line 159 of file FitUtil.cxx.

◆ fVec

std::vector<double> ROOT::Fit::FitUtil::SimpleGradientCalculator::fVec
mutableprivate

Definition at line 162 of file FitUtil.cxx.

  • math/mathcore/src/FitUtil.cxx