sc::LocalDiagSCMatrix(3)

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

okay so bestie, welcome to the MPQC manual, section 3 β€” the vibe check says today’s main character is sc::LocalDiagSCMatrix, and she is lowkey iconic πŸ’…βœ¨

🌸 NAME 🌸

sc::LocalDiagSCMatrix β€” that’s the name, no cap. This whole page is about her.

πŸ’– SYNOPSIS πŸ’–

She inherits sc::DiagSCMatrix β€” lineage check passed, we love a parent class πŸ‘‘.

πŸŽ€ Public Member Functions πŸŽ€

  • LocalDiagSCMatrix (const RefSCDimension &, LocalSCMatrixKit *) β€” constructor vibes, exactly as written.
  • void save_data_state (StateOut &) β€” the page lists the signature with no extra description, so I’m not inventing lore πŸ™ˆ.
  • double get_element (int) const β€” return or modify an element.
  • void set_element (int, double) β€” signature only on this page; no extra details given, periodt.
  • void accumulate_element (int, double) β€” same situation: signature only, no extra description.
  • void accumulate (const DiagSCMatrix *) β€” sums m into this.
  • double invert_this () β€” inverts this.
  • double determ_this () β€” returns the determinant of this; this is overwritten.
  • double trace () β€” returns the trace.
  • void gen_invert_this () β€” does a generalized inversion of this.
  • void element_op (const Ref< SCElementOp > &) β€” performs the element operation op on each element of this.
  • void element_op (const Ref< SCElementOp2 > &, DiagSCMatrix *) β€” element operation with another matrix, exactly as listed.
  • void element_op (const Ref< SCElementOp3 > &, DiagSCMatrix *, DiagSCMatrix *) β€” element operation with two more matrices, exactly as listed.
  • void vprint (const char *title=0, std::ostream &out=ExEnv::out0(), int=10) const β€” signature only on the page, so no extra claims from me πŸ’….
  • double * get_data () β€” signature only, bestie.
  • Ref< SCMatrixSubblockIter > local_blocks (SCMatrixSubblockIter::Access) β€” returns iterators for the local (rapidly accessible) blocks used in this matrix.
  • Ref< SCMatrixSubblockIter > all_blocks (SCMatrixSubblockIter::Access) β€” returns iterators for the all blocks used in this matrix. Yes, β€œthe all blocks” β€” we keep the original wording fr fr 😭.

🫢 Friends 🫢

  • class LocalSCMatrix
  • class LocalSymmSCMatrix
  • class LocalSCVector

🌈 Additional Inherited Members 🌈

Nothing extra is listed here β€” iconic minimalism, honestly ✨.

πŸͺ„ Author πŸͺ„

Generated automatically by Doxygen for MPQC from the source code.

Machine-made page, no handwritten fanfic β€” Doxygen did that πŸ’–.

kisses from MPQC β€” Version 2.3.1, Sun Oct 4 2020, on the sc::LocalDiagSCMatrix(3) page πŸ¦‹πŸŽ€πŸ’‹

πŸ“¦ where this page comes from