MADNESS 0.10.1
|
Optimization via steepest descent. More...
Public Member Functions | |
SteepestDescent (const std::shared_ptr< OptimizationTargetInterface > &target, double tol=1e-6, double value_precision=1e-12, double gradient_precision=1e-12) | |
bool | converged () const |
double | gradient_norm () const |
bool | optimize (Tensor< double > &x) |
double | value () const |
Public Member Functions inherited from madness::OptimizerInterface | |
virtual | ~OptimizerInterface () |
Private Attributes | |
double | f |
double | gnorm |
const double | gradient_precision |
std::shared_ptr< OptimizationTargetInterface > | target |
const double | tol |
const double | value_precision |
Optimization via steepest descent.
|
inline |
References target.
|
inlinevirtual |
|
inlinevirtual |
Implements madness::OptimizerInterface.
References gnorm.
|
inlinevirtual |
Implements madness::OptimizerInterface.
References converged(), f, madness::g, madness::Tensor< T >::gaxpy(), gnorm, madness::Tensor< T >::normf(), madness::print(), and target.
|
inlinevirtual |
Implements madness::OptimizerInterface.
References f.
|
private |
Referenced by optimize(), and value().
|
private |
Referenced by converged(), gradient_norm(), and optimize().
|
private |
|
private |
Referenced by SteepestDescent(), and optimize().
|
private |
Referenced by converged().
|
private |