DOKK / manpages / debian 12 / libsc-doc / sc_SteepestDescentOpt.3.en
sc::SteepestDescentOpt(3) MPQC sc::SteepestDescentOpt(3)

sc::SteepestDescentOpt

Inherits sc::Optimize.


SteepestDescentOpt (const Ref< KeyVal > &)
SteepestDescentOpt (StateIn &)
void save_data_state (StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. void init ()
Initialize the optimizer. int update ()
Take a step.


double maxabs_gradient
double accuracy_
Ref< LineOpt > lineopt_
int take_newton_step_
int print_x_
int print_gradient_

Initialize the optimizer.

Reimplemented from sc::Optimize.

Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. This must be implemented by the derived class if the class has data.

Reimplemented from sc::Optimize.

Take a step. Returns 1 if the optimization has converged, otherwise 0.

Implements sc::Optimize.

Generated automatically by Doxygen for MPQC from the source code.

Fri Dec 2 2022 Version 2.3.1