sc::SCElementScalarProduct(3)

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

πŸŽ€ 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 a StateIn & reference. Give it one, she's not picky about much else. ✨
  • void save_data_state (StateOut &) β€” saves the base classes (using save_data_state) plus the members, in the same order that the StateIn CTOR initializes them. Order matters, bestie, do not freestyle this one. 😭
  • void process (SCMatrixBlockIter &, SCMatrixBlockIter &) β€” takes two SCMatrixBlockIter references. Two of them. That's the whole flex. 🫢
  • int has_collect () β€” returns an int, and that's genuinely all this page tells us. πŸ”₯
  • void defer_collect (int) β€” takes an int and sends it on its way. Iconic of her. πŸ‘‘
  • void collect (const Ref< MessageGrp > &) β€” takes a const Ref< MessageGrp > &. That's the tea. πŸ“
  • double result () β€” hands you back a double. 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