#include <RDGeneral/export.h>
#include <cmath>
#include <RDGeneral/Invariant.h>
#include <GraphMol/Trajectory/Snapshot.h>
#include <cstring>
#include <vector>
#include <algorithm>
Go to the source code of this file.
|
template<typename EnergyFunctor > |
void | BFGSOpt::linearSearch (unsigned int dim, double *oldPt, double oldVal, double *grad, double *dir, double *newPt, double &newVal, EnergyFunctor func, double maxStep, int &resCode) |
| Do a Quasi-Newton minimization along a line.
|
|
template<typename EnergyFunctor , typename GradientFunctor > |
int | BFGSOpt::minimize (unsigned int dim, double *pos, double gradTol, unsigned int &numIters, double &funcVal, EnergyFunctor func, GradientFunctor gradFunc, unsigned int snapshotFreq, RDKit::SnapshotVect *snapshotVect, double funcTol=TOLX, unsigned int maxIts=MAXITS) |
| Do a BFGS minimization of a function.
|
|
template<typename EnergyFunctor , typename GradientFunctor > |
int | BFGSOpt::minimize (unsigned int dim, double *pos, double gradTol, unsigned int &numIters, double &funcVal, EnergyFunctor func, GradientFunctor gradFunc, double funcTol=TOLX, unsigned int maxIts=MAXITS) |
| Do a BFGS minimization of a function.
|
|
◆ CLEANUP
Value: { \
delete[] grad; \
delete[] dGrad; \
delete[] hessDGrad; \
delete[] newPos; \
delete[] xi; \
delete[] invHessian; \
}
Definition at line 158 of file BFGSOpt.h.