sc::SCMatrixDiagBlock(3)
π NAME π
okay so this is the sc::SCMatrixDiagBlock(3) page from MPQC, and the whole serve is: SCMatrixDiagBlock describes a diagonal piece of a matrix. Periodt. π
β¨ SYNOPSIS β¨
#include <block.h>
Inherits sc::SCMatrixBlock.
π«Ά Public Member Functions π«Ά
SCMatrixDiagBlock (int istart, int iend, int jstart)β constructor, no extra blurb on this page.SCMatrixDiagBlock (int istart, int iend)β constructor, also no extra blurb here.SCMatrixDiagBlock (StateIn &)β constructor fromStateIn, again with no extra description listed.void save_data_state (StateOut &)β saves the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.SCMatrixBlock * deepcopy () constβ returns a copy of this.void process (SCElementOp *)β process overload; no extra description on this page.void process (SCElementOp2 *, SCMatrixBlock *)β process overload; no extra description on this page.void process (SCElementOp3 *, SCMatrixBlock *, SCMatrixBlock *)β process overload; no extra description on this page.double * dat ()β returns a pointer to the blockβs data and the number of elements in the block.int ndat () constβ listed here with no separate description.
π Public Attributes π
int istartint jstartint ienddouble * data
π« Additional Inherited Members π«
The original page has this heading, and then gives no extra member details under it. Thatβs literally the whole section. π
π₯ Detailed Description π₯
The SCMatrixDiagBlock describes a diagonal piece of a matrix.
This little code moment illustrates the data layout:
fill(double **matrix, SCMatrixDiagBlock &b) { int i,j,offset=0; for (i=b.istart,j=b.jstart; i<b.iend; i++,j++,offset++) { matrix[i][j] = b.data[offset]; } }
π Member Function Documentation π
β double* sc::SCMatrixDiagBlock::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 from sc::SCMatrixBlock.
π¦ SCMatrixBlock* sc::SCMatrixDiagBlock::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 from sc::SCMatrixBlock.
π void sc::SCMatrixDiagBlock::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::SCMatrixBlock.
π Author π
Generated automatically by Doxygen for MPQC from the source code.
okay bestie, sign-off time π«Άβ¨ β this is sc::SCMatrixDiagBlock(3) from MPQC, Version 2.3.1, dated Sun Oct 4 2020. byeee ππΈ
π¦ 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