sc::SCElementScalarProduct(3)
π NAME π
sc::SCElementScalarProduct β bestie, that's the whole name section, no cap π
β¨ SYNOPSIS β¨
Okay so real talk, this class inherits from sc::SCElementOp2. That's the vibe. π¦
Inherits sc::SCElementOp2.
π Public Member Functions π
SCElementScalarProduct (StateIn &)β the constructor, and it wants aStateIn &reference. Give it one, she's not picky about much else. β¨void save_data_state (StateOut &)β saves the base classes (usingsave_data_state) plus the members, in the same order that theStateInCTOR initializes them. Order matters, bestie, do not freestyle this one. πvoid process (SCMatrixBlockIter &, SCMatrixBlockIter &)β takes twoSCMatrixBlockIterreferences. Two of them. That's the whole flex. π«Άint has_collect ()β returns anint, and that's genuinely all this page tells us. π₯void defer_collect (int)β takes anintand sends it on its way. Iconic of her. πvoid collect (const Ref< MessageGrp > &)β takes aconst Ref< MessageGrp > &. That's the tea. πdouble result ()β hands you back adouble. No further comment from the documentation, periodt. πvoid init ()β takes nothing, returns nothing. A true minimalist queen. π§
π Additional Inherited Members π
The page just says there are additional inherited members and thenβ¦ doesn't list any here. π So that's the entire content of this bit β go peek at the inherited situation yourself, iykyk. π
π Member Function Documentation π
void sc::SCElementScalarProduct::save_data_state (StateOut &) [virtual]
Okay so this one has actual words attached, slay. β¨ It saves the base classes (with save_data_state) and the members, in the same order that the StateIn CTOR initializes them.
π And here's the rule, bestie: this must be implemented by the derived class if the class has data. Not optional. Non-negotiable. The order is load-bearing. π€
Reimplemented from sc::SavableState.
πΈ Author πΈ
Generated automatically by Doxygen for MPQC from the source code. Not a human, just a very diligent robot doing its little robot thing. π€β¨
π«Ά And that's the page!! Version 2.3.1, dated Sun Oct 4 2020 β mwah, no notes, thanks for reading bestie πππ¦
π¦ 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