sc::DistDiagSCMatrix(3)
π sc::DistDiagSCMatrix(3) β MPQC manual, bestie edition π
Okay so welcome to the MPQC manual page for sc::DistDiagSCMatrix β yes bestie, this is the whole class page, and we're gonna get through every single member together. No cap. π
π NAME π
sc::DistDiagSCMatrix β that's the name, that's the class, iconic behavior. β¨
π¦ SYNOPSIS π¦
Inherits sc::DiagSCMatrix.
β¨ Public Member Functions β¨
DistDiagSCMatrix (const RefSCDimension &, DistSCMatrixKit *)β the constructor signature, exactly as the page gives it. π«Άdouble get_element (int) constβ the original note says: return or modify an element. That's the assignment, bestie.void set_element (int, double)β sets an element; the signature is doing all the talking in the source. πvoid accumulate_element (int, double)β accumulates an element; again, the exact signature is the whole note here. πvoid accumulate (const DiagSCMatrix *)β sumsmintothisβ that's the whole note, fr fr. π«Άdouble invert_this ()β invertsthis. Short, sweet, slay. πdouble determ_this ()β returns the determinant ofthis. Heads up:thisis overwritten. The page literally saysthisis overwritten, so don't act surprised. πdouble trace ()β returns the trace. That's it. πvoid gen_invert_this ()β does a generalized inversion ofthisβ generalized is the keyword, iykyk. π₯void element_op (const Ref< SCElementOp > &)β performs the element operationopon each element ofthis. Every element gets the treatment. β¨void element_op (const Ref< SCElementOp2 > &, DiagSCMatrix *)β theSCElementOp2version with aDiagSCMatrix *; the source gives no extra blurb, so here's the exact signature. πvoid element_op (const Ref< SCElementOp3 > &, DiagSCMatrix *, DiagSCMatrix *)β theSCElementOp3version with twoDiagSCMatrix *arguments. Exact signature, no extra note. π¦Ref< SCMatrixSubblockIter > local_blocks (SCMatrixSubblockIter::Access)β returns iterators for the local (rapidly accessible) blocks used in this matrix. Local and rapidly accessible β the parenthetical is part of the lore. π₯Ref< SCMatrixSubblockIter > all_blocks (SCMatrixSubblockIter::Access)β returns iterators for the all blocks used in this matrix. Yes, the page says βthe all blocksβ and we are respecting the original wording, bestie. πRef< DistSCMatrixKit > skit ()β theskit()signature, exactly as written. No extra description on the page. π
π Protected Member Functions π
The page doesn't give extra blurbs for these, so here are the exact signatures, no cap:
void init_blocklist ()double * find_element (int i) constint element_to_node (int i) constint block_to_node (int) constRef< SCMatrixBlock > block_to_block (int) constvoid error (const char *msg)
π§ Protected Attributes π§
Ref< SCMatrixBlockList > blocklistβ the one protected attribute on the page. Periodt. π
π― Friends π―
class DistSCMatrixclass DistSymmSCMatrixclass DistSCVector
π Author π
Generated automatically by Doxygen for MPQC from the source code. (Doxygen said it, not me, bestie. π«Ά)
π That's the whole glow-up. Version 2.3.1, dated Sun Oct 4 2020, from MPQC, for sc::DistDiagSCMatrix(3). Go off, 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