sc::LocalSCMatrix(3)
π NAME π
sc::LocalSCMatrix β the local SCMatrix icon of the MPQC manual. Bestie, this is her page, and the way sheβs giving local matrix main character energy is literally iconic. π
β¨
πΈ SYNOPSIS πΈ
Inherits sc::SCMatrix.
π«Ά Public Member Functions π«Ά
LocalSCMatrix (const RefSCDimension &, const RefSCDimension &, LocalSCMatrixKit *)β the constructor, taking the two dimension refs and aLocalSCMatrixKit *.void assign_val (double)β overridden to implement assigning members. πdouble get_element (int, int) constβ return or modify an element.void set_element (int, int, double)β also in the return-or-modify-an-element squad.void accumulate_element (int, int, double)β same element-modifying energy as above.SCMatrix * get_subblock (int, int, int, int)β return a subblock of this.void assign_subblock (SCMatrix *, int, int, int, int, int=0, int=0)β assignmto a subblock of this.void accumulate_subblock (SCMatrix *, int, int, int, int, int=0, int=0)β summinto a subblock of this.SCVector * get_row (int i)β return a row or column of this.SCVector * get_column (int i)β the column version, same row-or-column energy.void assign_row (SCVector *v, int i)β assignvto a row or column of this.void assign_column (SCVector *v, int i)β the column version of that assign move.void accumulate_row (SCVector *v, int i)β sumvto a row or column of this.void accumulate_column (SCVector *v, int i)β the column version of that sum move.void accumulate_outer_product (SCVector *, SCVector *)β sum into this the products of various vectors or matrices.void accumulate_product_rr (SCMatrix *, SCMatrix *)β an accumulate-product move with twoSCMatrix *besties.void accumulate_product_rs (SCMatrix *, SymmSCMatrix *)β same product-accumulate vibe, with anSCMatrix *and aSymmSCMatrix *.void accumulate_product_rd (SCMatrix *, DiagSCMatrix *)β product-accumulate with anSCMatrix *and aDiagSCMatrix *.void accumulate (const SCMatrix *)β summinto this.void accumulate (const SymmSCMatrix *)β theSymmSCMatrixoverload.void accumulate (const DiagSCMatrix *)β theDiagSCMatrixoverload.void accumulate (const SCVector *)β theSCVectoroverload.void transpose_this ()β transpose this.double invert_this ()β invert this.void svd_this (SCMatrix *U, DiagSCMatrix *sigma, SCMatrix *V)β compute the singular value decomposition for this, possibly destroying this. β οΈdouble solve_this (SCVector *)β solve-this, exactly with thatSCVector *.double determ_this ()β return the determinant of this;thisis overwritten.double trace ()β return the trace.void schmidt_orthog (SymmSCMatrix *, int)β Schmidt orthogonalize this.int schmidt_orthog_tol (SymmSCMatrix *, double tol, double *res=0)β Schmidt orthogonalize this.void element_op (const Ref< SCElementOp > &)β perform the element operationopon each element of this.void element_op (const Ref< SCElementOp2 > &, SCMatrix *)β element-op overload with anSCMatrix *.void element_op (const Ref< SCElementOp3 > &, SCMatrix *, SCMatrix *)β element-op overload with twoSCMatrix *.void vprint (const char *title=0, std::ostream &out=ExEnv::out0(), int=10) constβ the vprint signature, exactly as written.double * get_data ()β get the data pointer.double ** get_rows ()β get the rows pointer.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.
π Friends π
class LocalSymmSCMatrixclass LocalDiagSCMatrixclass LocalSCVector
π¦ Additional Inherited Members π¦
Okay bestie, the page also has an Additional Inherited Members section. It doesnβt spill extra deets here β itβs just chillinβ as a heading. π«Ά
π₯ Member Function Documentation π₯
SCMatrix* sc::LocalSCMatrix::get_subblock (int br, int er, int bc, int ec) [virtual]
Return a subblock of this. The subblock is defined as the rows starting at br and ending at er, and the columns beginning at bc and ending at ec.
Implements sc::SCMatrix. π
void sc::LocalSCMatrix::schmidt_orthog (SymmSCMatrix *, int n) [virtual]
Schmidt orthogonalize this. S is the overlap matrix. n is the number of columns to orthogonalize.
Implements sc::SCMatrix.
int sc::LocalSCMatrix::schmidt_orthog_tol (SymmSCMatrix *, double tol, double * res = 0) [virtual]
Schmidt orthogonalize this. S is the overlap matrix. tol is the tolerance. The number of linearly independent vectors is returned.
Implements sc::SCMatrix.
π Author π
Generated automatically by Doxygen for MPQC from the source code. π€β¨
MPQC version 2.3.1, dated Sun Oct 4 2020 β mwah, bestie, you made it to the end! ππ
π¦ 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