sc::LocalSCMatrix(3)

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

πŸ’– 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 a LocalSCMatrixKit *.
  • 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) β€” assign m to a subblock of this.
  • void accumulate_subblock (SCMatrix *, int, int, int, int, int=0, int=0) β€” sum m into 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) β€” assign v to 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) β€” sum v to 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 two SCMatrix * besties.
  • void accumulate_product_rs (SCMatrix *, SymmSCMatrix *) β€” same product-accumulate vibe, with an SCMatrix * and a SymmSCMatrix *.
  • void accumulate_product_rd (SCMatrix *, DiagSCMatrix *) β€” product-accumulate with an SCMatrix * and a DiagSCMatrix *.
  • void accumulate (const SCMatrix *) β€” sum m into this.
  • void accumulate (const SymmSCMatrix *) β€” the SymmSCMatrix overload.
  • void accumulate (const DiagSCMatrix *) β€” the DiagSCMatrix overload.
  • void accumulate (const SCVector *) β€” the SCVector overload.
  • 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 that SCVector *.
  • double determ_this () β€” return the determinant of this; this is 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 operation op on each element of this.
  • void element_op (const Ref< SCElementOp2 > &, SCMatrix *) β€” element-op overload with an SCMatrix *.
  • void element_op (const Ref< SCElementOp3 > &, SCMatrix *, SCMatrix *) β€” element-op overload with two SCMatrix *.
  • 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 LocalSymmSCMatrix
  • class LocalDiagSCMatrix
  • class 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