sc::SCMatrixRectSubBlock(3)
π NAME π
okay so bestie, this is the sc::SCMatrixRectSubBlock(3) page from MPQC, and it's all about sc::SCMatrixRectSubBlock β the class that describes a rectangular piece of a matrix. That's the name tea, periodt. π
β¨
β¨ SYNOPSIS β¨
First up, the include:
#include <block.h>
And the inheritance situation: it inherits sc::SCMatrixBlock. iykyk. π¦
π Public Member Functions π
SCMatrixRectSubBlock (int is, int ie, int istride, int js, int je, double *data)SCMatrixRectSubBlock (StateIn &)void save_data_state (StateOut &)β Save the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them. πvoid process (SCElementOp *)void process (SCElementOp2 *, SCMatrixBlock *)void process (SCElementOp3 *, SCMatrixBlock *, SCMatrixBlock *)
πΈ Public Attributes πΈ
int istartint jstartint iendint jendint istridedouble * data
π¦ Additional Inherited Members π¦
This section is literally just the heading in the original, with no extra member details listed. It's giving mysterious. π΅οΈββοΈβ¨
π Detailed Description π
The SCMatrixRectSubBlock describes a rectangular piece of a matrix.
The following bit of code illustrates the data layout:
fill(double **matrix, SCMatrixRectSubBlock &b) { int offset=b.istart * b.istride + b.jstart; for (int i=b.istart; i<b.iend; i++) { for (int j=b.jstart; j<b.jend; j++,offset++) { matrix[i][j] = b.data[offset]; } offset += b.istride - (b.jend - b.jstart); } }
π Member Function Documentation π
void sc::SCMatrixRectSubBlock::save_data_state (StateOut &) [virtual]
Save 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. No cap, that's important. π₯
Reimplemented from sc::SCMatrixBlock.
π Author π
Generated automatically by Doxygen for MPQC from the source code. Not me, Doxygen did that. π€π
MPQC Version 2.3.1, Sun Oct 4 2020, sc::SCMatrixRectSubBlock(3) β that's a wrap, bestie. 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