logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sc::SteepestDescentOpt

Author

       Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1                                    Sun Oct 4 2020                        sc::SteepestDescentOpt(3)

Member Function Documentation

voidsc::SteepestDescentOpt::save_data_state(StateOut&)[virtual]
       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.

   intsc::SteepestDescentOpt::update()[virtual]
       Take a step. Returns 1 if the optimization has converged, otherwise 0.

       Implements sc::Optimize.

Name

       sc::SteepestDescentOpt

Synopsis

       Inherits sc::Optimize.

   PublicMemberFunctionsSteepestDescentOpt (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.

   ProtectedAttributes
       double maxabs_gradient
       double accuracy_Ref< LineOpt > lineopt_
       int take_newton_step_
       int print_x_
       int print_gradient_AdditionalInheritedMembers

See Also