sc::AccResultInfo(3)
Okay bestie, welcome to sc::AccResultInfo(3), straight out of the MPQC manual. Buckle up, itβs accuracy-storage cute π
π NAME π
sc::AccResultInfo β this is like ResultInfo, but it stores the accuracy with which a result was computed and the desired accuracy too. Both accuracy deets are in the building β¨
π¦ SYNOPSIS π¦
#include <compute.h>
Inherits sc::ResultInfo.
Inherited by sc::AccResult< RefDiagSCMatrix >, sc::AccResult< RefSCMatrix >, sc::AccResult< RefSCVector >, sc::AccResult< RefSymmSCMatrix >, sc::NCAccResult< double >, sc::AccResult< T >, sc::NCAccResult< T >, and sc::SSAccResult< T >.
πΈ Public Member Functions πΈ
AccResultInfo (Compute *c)β the constructor, taking aCompute *c.double actual_accuracy () constβ returns the actual accuracy as adouble.double desired_accuracy () constβ returns the desired accuracy as adouble.void set_desired_accuracy (double)β sets the desired accuracy from adouble.void set_actual_accuracy (double)β sets the actual accuracy from adouble.int computed_to_desired_accuracy () constβ returns anint; the name is literallycomputed_to_desired_accuracy, iykyk.int needed () constβ returns anint, and itβs calledneeded.
π Protected Member Functions π
AccResultInfo (StateIn &, Compute *)β protected constructor taking aStateIn &and aCompute *.AccResultInfo (const AccResultInfo &, Compute *)β protected constructor taking aconst AccResultInfo &and aCompute *.virtual void save_data_state (StateOut &)β virtual, takes aStateOut &.virtual void restore_state (StateIn &)β virtual, takes aStateIn &.AccResultInfo & operator= (const AccResultInfo &)β assignment operator taking aconst AccResultInfo &, returnsAccResultInfo &.void update ()β takes no args, returnsvoid.
π«Ά Additional Inherited Members π«Ά
This heading is here, but it doesnβt list any extra members on this page.
π Detailed Description π
Okay so picture ResultInfo β now add the glow-up: this one stores the accuracy with which a result was computed and the desired accuracy. Thatβs the whole vibe, and itβs iconic π
π AUTHOR π
Generated automatically by Doxygen for MPQC from the source code. Thatβs the author line, periodt.
Okay thatβs the whole page, bestie β MPQC version 2.3.1, dated Sun Oct 4 2020, signing off π
β¨
π¦ 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