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 |
Implements madness::OptimizerInterface.
|
inlinevirtual |
Implements madness::OptimizerInterface.
|
inlinevirtual |
Implements madness::OptimizerInterface.
References madness::f, madness::g, madness::Tensor< T >::gaxpy(), madness::print(), and target().
|
inlinevirtual |
Implements madness::OptimizerInterface.
References madness::f.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |