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

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

+ Inheritance diagram for FitNewton::SquareGradient:
+ Collaboration diagram for FitNewton::SquareGradient:

Public Member Functions

 SquareGradient (FunctionGradHessian *func)
 
 ~SquareGradient ()
 
bool calcValGradHessian (const Eigen::VectorXd &x, double &val, Eigen::VectorXd &grad, Eigen::MatrixXd &hessian)
 
bool calcValGrad (const Eigen::VectorXd &x, double &val, Eigen::VectorXd &grad)
 
FunctionGradHessianClone () const
 
- Public Member Functions inherited from FitNewton::FunctionGradHessian
 FunctionGradHessian (unsigned int nparams=1, unsigned int nfixedparams=1)
 
virtual ~FunctionGradHessian ()
 
unsigned int nPars ()
 
unsigned int nFixedPars ()
 
std::vector< double > getFixedPars ()
 
void setFixedPar (unsigned int coor, double val)
 
virtual void computeCovariance (const double &, const Eigen::MatrixXd &)
 
virtual void rescaleMove (const Eigen::VectorXd &, Eigen::VectorXd &)
 

Public Attributes

bool verbose
 

Protected Attributes

FunctionGradHessianfunction
 
- Protected Attributes inherited from FitNewton::FunctionGradHessian
unsigned int npars
 
unsigned int nfixedpars
 
std::vector< double > fixedpars
 

Detailed Description

Definition at line 10 of file SquareGradient.h.

View newest version in sPHENIX GitHub at line 10 of file SquareGradient.h

Constructor & Destructor Documentation

FitNewton::SquareGradient::SquareGradient ( FunctionGradHessian func)

Definition at line 11 of file SquareGradient.cpp.

View newest version in sPHENIX GitHub at line 11 of file SquareGradient.cpp

References FitNewton::FunctionGradHessian::fixedpars, and FitNewton::FunctionGradHessian::getFixedPars().

Referenced by Clone().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FitNewton::SquareGradient::~SquareGradient ( )

Definition at line 17 of file SquareGradient.cpp.

View newest version in sPHENIX GitHub at line 17 of file SquareGradient.cpp

Member Function Documentation

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

Reimplemented from FitNewton::FunctionGradHessian.

Definition at line 30 of file SquareGradient.cpp.

View newest version in sPHENIX GitHub at line 30 of file SquareGradient.cpp

References FitNewton::FunctionGradHessian::npars.

Referenced by calcValGradHessian(), and FitNewton::NewtonMinimizerGradHessian::findSaddlePoint().

+ Here is the caller graph for this function:

bool FitNewton::SquareGradient::calcValGradHessian ( const Eigen::VectorXd &  x,
double &  val,
Eigen::VectorXd &  grad,
Eigen::MatrixXd &  hessian 
)
virtual

Implements FitNewton::FunctionGradHessian.

Definition at line 93 of file SquareGradient.cpp.

View newest version in sPHENIX GitHub at line 93 of file SquareGradient.cpp

References calcValGrad().

+ Here is the call graph for this function:

FunctionGradHessian * FitNewton::SquareGradient::Clone ( ) const
virtual

Implements FitNewton::FunctionGradHessian.

Definition at line 23 of file SquareGradient.cpp.

View newest version in sPHENIX GitHub at line 23 of file SquareGradient.cpp

References SquareGradient().

+ Here is the call graph for this function:

Member Data Documentation

FunctionGradHessian* FitNewton::SquareGradient::function
protected

Definition at line 29 of file SquareGradient.h.

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

bool FitNewton::SquareGradient::verbose

Definition at line 26 of file SquareGradient.h.

View newest version in sPHENIX GitHub at line 26 of file SquareGradient.h


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