sc::SCMatrixBlock(3)
π NAME π
okay bestie, welcome to the sc::SCMatrixBlock(3) page from the MPQC manual. The main character is SCMatrixBlock: the base clase for all types of blocks that comprise matrices and vectors. Yes, βclaseβ is literally in the source, and we respect the iconβs spelling π
.
β¨ SYNOPSIS β¨
#include <block.h>
Inherits sc::SavableState.
Inherited by:
sc::SCMatrixDiagBlocksc::SCMatrixDiagSubBlocksc::SCMatrixLTriBlocksc::SCMatrixLTriSubBlocksc::SCMatrixRectBlocksc::SCMatrixRectSubBlocksc::SCVectorSimpleBlocksc::SCVectorSimpleSubBlock
π οΈ Public Member Functions π οΈ
SCMatrixBlock (StateIn &s)β constructor that takes aStateIn &s; the source page gives it no extra one-liner.void save_data_state (StateOut &s)β saves the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.virtual SCMatrixBlock * deepcopy () constβ returns a copy of this.virtual double * dat ()β returns a pointer to the blockβs data and the number of elements in the block.virtual int ndat () constβ returns anintand isconst; the source page gives no extra description here.virtual void process (SCElementOp *)=0β pure virtual hook; the=0is right there in the signature, and the source page adds no separate note.virtual void process (SCElementOp2 *, SCMatrixBlock *)=0β pure virtual hook; no extra description on the source page.virtual void process (SCElementOp3 *, SCMatrixBlock *, SCMatrixBlock *)=0β pure virtual hook; no extra description on the source page.
π§Έ Public Attributes π§Έ
int blockiβ public attribute; the source page gives no extra description.int blockjβ public attribute; the source page gives no extra description.
π«§ Additional Inherited Members π«§
The source page lists this heading but gives no extra member details underneath it on this page. Thatβs the whole section, bestie π«Ά.
πΈ Detailed Description πΈ
SCMatrixBlock is the base clase for all types of blocks that comprise matrices and vectors. Again, βclaseβ is canon π.
π Member Function Documentation π
π¦ virtual double* sc::SCMatrixBlock::dat () [virtual]
Returns a pointer to the blockβs data and the number of elements in the block. Some blocks cannot provide this information, and a runtime error will be generated if these members are called. These routines are only used internally in the matrix library.
Reimplemented in sc::SCMatrixDiagBlock, sc::SCMatrixLTriBlock, sc::SCMatrixRectBlock, and sc::SCVectorSimpleBlock.
π¦ virtual SCMatrixBlock* sc::SCMatrixBlock::deepcopy () const [virtual]
Returns a copy of this. A runtime error will be generated for blocks that cannot do a deepcopy. These routines are only used internally in the matrix library.
Reimplemented in sc::SCMatrixDiagBlock, sc::SCMatrixLTriBlock, sc::SCMatrixRectBlock, and sc::SCVectorSimpleBlock.
π¦ void sc::SCMatrixBlock::save_data_state (StateOut &) [virtual]
Saves the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. This must be implemented by the derived class if the class has data.
Reimplemented from sc::SavableState.
Reimplemented in sc::SCMatrixDiagSubBlock, sc::SCMatrixDiagBlock, sc::SCMatrixLTriSubBlock, sc::SCMatrixLTriBlock, sc::SCMatrixRectSubBlock, sc::SCMatrixRectBlock, sc::SCVectorSimpleSubBlock, and sc::SCVectorSimpleBlock.
π Author π
Generated automatically by Doxygen for MPQC from the source code.
Sign-off time, bestie: Version 2.3.1, Sun Oct 4 2020 β thatβs the manual footer energy. Bye and slay πβ¨
π¦ 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