EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/offline/packages/HelixHough/FitNewton/SquareGradient.h>
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) |
FunctionGradHessian * | Clone () 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 | |
FunctionGradHessian * | function |
Protected Attributes inherited from FitNewton::FunctionGradHessian | |
unsigned int | npars |
unsigned int | nfixedpars |
std::vector< double > | fixedpars |
Definition at line 10 of file SquareGradient.h.
View newest version in sPHENIX GitHub at line 10 of file SquareGradient.h
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().
FitNewton::SquareGradient::~SquareGradient | ( | ) |
Definition at line 17 of file SquareGradient.cpp.
View newest version in sPHENIX GitHub at line 17 of file SquareGradient.cpp
|
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().
|
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().
|
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().
|
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