sc::HessianUpdate(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

πŸ’… sc::HessianUpdate(3) β€” MPQC manual page πŸ’…

okay bestie, this is the MPQC page for sc::HessianUpdate(3). It’s giving β€œabstract base class with main character energy,” and we’re gonna go through every single detail together, no skips, no cap. πŸ’–


✨ NAME ✨

sc::HessianUpdate β€” the abstract class used to specify a hessian update scheme. That’s literally the assignment, and it ate. πŸ’…


πŸ› οΈ SYNOPSIS πŸ› οΈ

#include <update.h>

Inherits sc::SavableState.

Inherited by sc::DFPUpdate, and sc::PowellUpdate.

🌸 Public Member Functions 🌸

  • HessianUpdate (StateIn &) β€” constructor that takes a StateIn &. slay.
  • HessianUpdate (const Ref< KeyVal > &) β€” constructor that takes a const Ref< KeyVal > &. also slay.
  • 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.
  • virtual void update (const RefSymmSCMatrix &hessian, const Ref< Function > &, const RefSCVector &xnew, const RefSCVector &gnew)=0 β€” this one ends in =0, so it’s pure virtual. The actual update behavior has to come from somewhere else, bestie.
  • virtual void set_inverse () β€” sets the inverse. The page gives us the signature and not much else, and honestly same.
  • virtual void apply_transform (const Ref< NonlinearTransform > &) β€” takes a const Ref< NonlinearTransform > &. that’s the whole tea for this line.

πŸ’œ Protected Attributes πŸ’œ

  • int inverse_hessian_ β€” this is the int that the detailed description below is talking about.

🫢 Additional Inherited Members 🫢

There are extra inherited members, but this page doesn’t list them. We stay respectful of the mystery. 🫑


πŸ¦‹ Detailed Description πŸ¦‹

The HessianUpdate abstract class is used to specify a hessian update scheme. It’s the base-class blueprint for that whole situation.

It is used, for example, by QNewtonOpt objects. Based on the value of inverse_hessian_, x and g may be reversed (see Schlegel, Ab initio Methods in Quantum Chemistry I, 1987, p 10).

bestie, that’s the exact reference and page number β€” do not lose it, it’s iconic. πŸŽ€

πŸ”₯ Member Function Documentation πŸ”₯

void sc::HessianUpdate::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::SavableState.

Reimplemented in sc::PowellUpdate, sc::BFGSUpdate, and sc::DFPUpdate.


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for MPQC from the source code.


and that’s the whole vibe: MPQC source, version 2.3.1, dated Sun Oct 4 2020 β€” cute little footer energy, sign-off complete, bye bestie πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from