19 #ifndef QMCPLUSPLUS_LINEARMETHOD_H 20 #define QMCPLUSPLUS_LINEARMETHOD_H 29 class QMCCostFunctionBase;
49 std::vector<Real>& ev);
void getNonLinearRange(int &first, int &last, const QMCCostFunctionBase &optTarget) const
helper functions for EinsplineSetBuilder
QTBase::RealType RealType
static Real getLowestEigenvector_Inv(Matrix< Real > &A, Matrix< Real > &B, std::vector< Real > &ev)
Solve the generalized eigenvalue problem and return a scaled eigenvector corresponding to the selecte...
static Real getLowestEigenvector_Gen(Matrix< Real > &A, Matrix< Real > &B, std::vector< Real > &ev)
Solve the generalized eigenvalue problem and return a scaled eigenvector corresponding to the selecte...
Real getLowestEigenvector(Matrix< Real > &A, std::vector< Real > &ev) const
Implements wave-function optimization.
double B(double x, int k, int i, const std::vector< double > &t)
static Real selectEigenvalue(std::vector< Real > &eigenvals, Matrix< Real > &eigenvectors, Real zerozero, std::vector< Real > &ev)
Select eigenvalue and return corresponding scaled eigenvector.
NewTimer class various high-resolution timers.
Real getNonLinearRescale(std::vector< Real > &dP, Matrix< Real > &S, const QMCCostFunctionBase &optTarget) const