EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FitNewton::FunctionGradHessian Class Referenceabstract

#include <fun4all_coresoftware/blob/master/offline/packages/HelixHough/FitNewton/FunctionGradHessian.h>

+ Inheritance diagram for FitNewton::FunctionGradHessian:
+ Collaboration diagram for FitNewton::FunctionGradHessian:

Public Member Functions

 FunctionGradHessian (unsigned int nparams=1, unsigned int nfixedparams=1)
 
virtual ~FunctionGradHessian ()
 
virtual bool calcValGradHessian (const Eigen::VectorXd &x, double &val, Eigen::VectorXd &grad, Eigen::MatrixXd &hessian)=0
 
virtual bool calcValGrad (const Eigen::VectorXd &x, double &val, Eigen::VectorXd &grad)
 
unsigned int nPars ()
 
unsigned int nFixedPars ()
 
std::vector< double > getFixedPars ()
 
void setFixedPar (unsigned int coor, double val)
 
virtual FunctionGradHessianClone () const =0
 
virtual void computeCovariance (const double &, const Eigen::MatrixXd &)
 
virtual void rescaleMove (const Eigen::VectorXd &, Eigen::VectorXd &)
 

Protected Attributes

unsigned int npars
 
unsigned int nfixedpars
 
std::vector< double > fixedpars
 

Detailed Description

Definition at line 9 of file FunctionGradHessian.h.

View newest version in sPHENIX GitHub at line 9 of file FunctionGradHessian.h

Constructor & Destructor Documentation

FitNewton::FunctionGradHessian::FunctionGradHessian ( unsigned int  nparams = 1,
unsigned int  nfixedparams = 1 
)
inline

Definition at line 12 of file FunctionGradHessian.h.

View newest version in sPHENIX GitHub at line 12 of file FunctionGradHessian.h

References fixedpars, and nfixedpars.

virtual FitNewton::FunctionGradHessian::~FunctionGradHessian ( )
inlinevirtual

Definition at line 17 of file FunctionGradHessian.h.

View newest version in sPHENIX GitHub at line 17 of file FunctionGradHessian.h

Member Function Documentation

virtual bool FitNewton::FunctionGradHessian::calcValGrad ( const Eigen::VectorXd &  x,
double &  val,
Eigen::VectorXd &  grad 
)
inlinevirtual

Reimplemented in FitNewton::ChiSquareGradHessian, and FitNewton::SquareGradient.

Definition at line 21 of file FunctionGradHessian.h.

View newest version in sPHENIX GitHub at line 21 of file FunctionGradHessian.h

References calcValGradHessian().

Referenced by FitNewton::ChiSquareGradHessian::calcValGrad(), FitNewton::ChiSquareGradHessian::calcValGradHessian(), and FitNewton::ChiSquareGradHessian::calcValGradThread1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual bool FitNewton::FunctionGradHessian::calcValGradHessian ( const Eigen::VectorXd &  x,
double &  val,
Eigen::VectorXd &  grad,
Eigen::MatrixXd &  hessian 
)
pure virtual
virtual void FitNewton::FunctionGradHessian::computeCovariance ( const double &  ,
const Eigen::MatrixXd &   
)
inlinevirtual

Reimplemented in FitNewton::GaussianRegGradHessian, and FitNewton::ChiSquareGradHessian.

Definition at line 36 of file FunctionGradHessian.h.

View newest version in sPHENIX GitHub at line 36 of file FunctionGradHessian.h

Referenced by FitNewton::NewtonMinimizerGradHessian::findSaddlePoint().

+ Here is the caller graph for this function:

std::vector<double> FitNewton::FunctionGradHessian::getFixedPars ( )
inline

Definition at line 29 of file FunctionGradHessian.h.

View newest version in sPHENIX GitHub at line 29 of file FunctionGradHessian.h

References fixedpars.

Referenced by FitNewton::SquareGradient::SquareGradient().

+ Here is the caller graph for this function:

unsigned int FitNewton::FunctionGradHessian::nFixedPars ( )
inline

Definition at line 28 of file FunctionGradHessian.h.

View newest version in sPHENIX GitHub at line 28 of file FunctionGradHessian.h

References nfixedpars.

unsigned int FitNewton::FunctionGradHessian::nPars ( )
inline

Definition at line 27 of file FunctionGradHessian.h.

View newest version in sPHENIX GitHub at line 27 of file FunctionGradHessian.h

References npars.

Referenced by FitNewton::NewtonMinimizerGradHessian::minimize(), and FitNewton::NewtonMinimizerGradHessian::setFunction().

+ Here is the caller graph for this function:

virtual void FitNewton::FunctionGradHessian::rescaleMove ( const Eigen::VectorXd &  ,
Eigen::VectorXd &   
)
inlinevirtual

Definition at line 38 of file FunctionGradHessian.h.

View newest version in sPHENIX GitHub at line 38 of file FunctionGradHessian.h

Referenced by FitNewton::NewtonMinimizerGradHessian::findSaddlePoint().

+ Here is the caller graph for this function:

void FitNewton::FunctionGradHessian::setFixedPar ( unsigned int  coor,
double  val 
)
inline

Member Data Documentation

unsigned int FitNewton::FunctionGradHessian::nfixedpars
protected

Definition at line 44 of file FunctionGradHessian.h.

View newest version in sPHENIX GitHub at line 44 of file FunctionGradHessian.h

Referenced by FunctionGradHessian(), and nFixedPars().


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