sc::NewtonOpt(3)
πΈ NAME πΈ
Okay bestie, welcome to sc::NewtonOpt β this is the sc::NewtonOpt(3) page from the MPQC manual, so the manual name is folded in right at the top, iykyk. This class is the optimizer bestie we're talking about, and it's lowkey iconic.
β¨ SYNOPSIS β¨
Inherits sc::Optimize.
π«Ά Public Member Functions π«Ά
NewtonOpt (const Ref< KeyVal > &)β constructor that takes aconst Ref< KeyVal > &.NewtonOpt (StateIn &)β constructor that takes aStateIn &.void save_data_state (StateOut &)β saves the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.void init ()β initializes the optimizer.int update ()β takes a step.
π Protected Attributes π
These are the protected attributes, exactly as listed β no extra lore added:
double maxabs_gradientdouble accuracy_int print_hessian_int print_x_int print_gradient_
π Additional Inherited Members π
Bestie, this section is here and it has no extra details listed in this manpage. The inherited members stay inherited β we're not inventing anything, periodt.
π Member Function Documentation π
void sc::NewtonOpt::save_data_state (StateOut &) [virtual]
Okay so this one saves the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. The docs are very clear: this must be implemented by the derived class if the class has data. It's reimplemented from sc::SavableState. Slay.
int sc::NewtonOpt::update () [virtual]
This one takes a step. It returns 1 if the optimization has converged, otherwise 0. It implements sc::Optimize. That's the whole update vibe.
π Author π
Generated automatically by Doxygen for MPQC from the source code.
Catch you later, bestie π β this page is from MPQC, Version 2.3.1, dated Sun Oct 4 2020, and it was generated automatically by Doxygen from the source code. Bye! π
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms