sc::DiagSCMatrix(3)
π sc::DiagSCMatrix(3) β MPQC manual, bestie π
okay so welcome to the MPQC manual page for sc::DiagSCMatrix β it's giving abstract-base-class main character energy for diagonal double valued matrices. no cap, this page is a whole little vibe. β¨
π NAME π
sc::DiagSCMatrix β The SymmSCMatrix class is the abstract base class for diagonal double valued matrices.
β¨ SYNOPSIS β¨
#include <abstract.h>
Inherits sc::DescribedClass.
Inherited by sc::BlockedDiagSCMatrix, sc::DistDiagSCMatrix, sc::LocalDiagSCMatrix, and sc::ReplDiagSCMatrix.
πΈ Public Member Functions πΈ
DiagSCMatrix (const RefSCDimension &, SCMatrixKit *)β constructor lineup, exactly as written; the page gives no extra description here. π«ΆRef< SCMatrixKit > kit () constβ Return theSCMatrixKitused to create this object.virtual void save (StateOut &)β Save and restore this in an implementation independent way.virtual void restore (StateIn &)β no separate description on the page, bestie.virtual double maxabs () constβ Return the maximum absolute value element of this vector.virtual void randomize ()β Assign each element to a random number between-1and1.void assign (double val)β Set all elements toval.void assign (const double *p)β Assign elementi,itom[i].void assign (DiagSCMatrix *d_a)β Make this have the same elements asm.virtual void assign_val (double val)β Overridden to implement the assign members.virtual void assign_p (const double *)β no extra note on the page.virtual void assign_d (DiagSCMatrix *)β no extra note on the page.virtual void convert (double *) constβ Like the assign member, but this writes values to the argument.virtual void convert (DiagSCMatrix *)β Convert anSCDiagSCMatrixof a different specialization to this specialization and possibly accumulate the data.virtual void convert_accumulate (DiagSCMatrix *)β no extra note on the page.virtual void scale (double)β Multiply all elements byval.int n () constβ Return the dimension.virtual DiagSCMatrix * copy ()β Return a matrix with the same dimension and same elements.virtual DiagSCMatrix * clone ()β Return a matrix with the same dimension but uninitialized memory.RefSCDimension dim () constβ Return the dimension.virtual double get_element (int) const =0β Return or modify an element.virtual void set_element (int, double)=0β no extra note on the page.virtual void accumulate_element (int, double)=0β no extra note on the page.virtual void accumulate (const DiagSCMatrix *m)=0β Summinto this.virtual double trace ()=0β Return the trace.virtual double determ_this ()=0β Return the determinant of this. this is overwritten.virtual double invert_this ()=0β Invert this.virtual void gen_invert_this ()=0β Do a generalized inversion of this.virtual void element_op (const Ref< SCElementOp > &)=0β Perform the element operationopon each element of this.virtual void element_op (const Ref< SCElementOp2 > &, DiagSCMatrix *)=0β no extra note on the page.virtual void element_op (const Ref< SCElementOp3 > &, DiagSCMatrix *, DiagSCMatrix *)=0β no extra note on the page.void print (std::ostream &o=ExEnv::out0()) constβ Print out the matrix.void print (const char *title=0, std::ostream &out=ExEnv::out0(), int=10) constβ no extra note on the page.virtual void vprint (const char *title=0, std::ostream &out=ExEnv::out0(), int=10) constβ no extra note on the page.Ref< MessageGrp > messagegrp () constβ Returns the message group used by the matrix kit.virtual Ref< SCMatrixSubblockIter > local_blocks (SCMatrixSubblockIter::Access)=0β Returns iterators for the local (rapidly accessible) blocks used in this matrix.virtual Ref< SCMatrixSubblockIter > all_blocks (SCMatrixSubblockIter::Access)=0β Returns iterators for the all blocks used in this matrix.
π Protected Attributes π
RefSCDimension dRef< SCMatrixKit > kit_
π¦ Additional Inherited Members π¦
the page literally just has this heading and then no extra member bullets under it β iconic minimalism, honestly. π¦
π Detailed Description π
The SymmSCMatrix class is the abstract base class for diagonal double valued matrices.
yes bestie, it really says SymmSCMatrix there β not me fixing it, periodt. π
π§ Member Function Documentation π§
π void sc::DiagSCMatrix::assign (DiagSCMatrix * d_a) [inline] π
Make this have the same elements as m. The dimensions must match.
π Author π
Generated automatically by Doxygen for MPQC from the source code.
π that's the whole page, bestie. Version 2.3.1, dated Sun Oct 4 2020, from the MPQC manual for sc::DiagSCMatrix(3). slay and bye. π
β¨
π¦ 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