sc::SCMatrixDiagSubBlock(3)
π NAME π
okay bestie, welcome to sc::SCMatrixDiagSubBlock(3) β this is the MPQC manual page, and it's literally all about SCMatrixDiagSubBlock, which describes a diagonal subblock of a matrix. periodt π
β¨ SYNOPSIS β¨
#include <block.h>
Inherits sc::SCMatrixBlock. she's giving nepo baby but make it class hierarchy π
π¦ Public Member Functions π¦
SCMatrixDiagSubBlock (int istart, int iend, int jstart, int offset, double *data)β constructor withistart,iend,jstart,offset, and adouble *data, all up in here πΈSCMatrixDiagSubBlock (int istart, int iend, int offset, double *data)β the other constructor, this one without ajstart, no cap β¨SCMatrixDiagSubBlock (StateIn &)β constructor from aStateIn &because state has to come from somewhere πvoid save_data_state (StateOut &)β saves the base classes (withsave_data_state) and the members in the exact same order that theStateInCTOR initializes them, bestie. this is important: it must be implemented by the derived class if the class has data πΎvoid process (SCElementOp *)β processes anSCElementOp *βvoid process (SCElementOp2 *, SCMatrixBlock *)β processes anSCElementOp2 *plus anSCMatrixBlock *, iconic duo behavior π«Άvoid process (SCElementOp3 *, SCMatrixBlock *, SCMatrixBlock *)β processes anSCElementOp3 *with twoSCMatrixBlock *friends, a whole group chat π₯
π Public Attributes π
int istartβ anintnamedistartπint jstartβ anintnamedjstartπint iendβ anintnamediendπint offsetβ anintnamedoffsetπdouble * dataβ adouble *nameddata, she points at doubles π
π«Ά Additional Inherited Members π«Ά
this heading is here: Additional Inherited Members. that's the whole section on this page. moving on, bestie π
π Detailed Description π
The SCMatrixDiagSubBlock describes a diagonal subblock of a matrix. literally what it says on the tin π
The following bit of code illustrates the data layout:
fill(double **matrix, SCMatrixDiagSubBlock &b) { int i,j,offset=b.offset; for (i=b.istart,j=b.jstart; i<b.iend; i++,j++,offset++) { matrix[i][j] = b.data[offset]; } }
πΈ Member Function Documentation πΈ
void sc::SCMatrixDiagSubBlock::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. fr fr, don't skip it π
Reimplemented from sc::SCMatrixBlock.
π§ Author π§
Generated automatically by Doxygen for MPQC from the source code. the robots did this one π€β¨
okay that's the whole page, bestie β Version 2.3.1, dated Sun Oct 4 2020, and the footer vibe is sc::SCMatrixDiagSubBlock(3). 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