sc::SCMatrixLTriSubBlock(3)
π sc::SCMatrixLTriSubBlock π
Bestie, welcome to the MPQC manual page for sc::SCMatrixLTriSubBlock. It's giving triangular subblock of a matrix, and we're gonna read it together. π«Άβ¨
β¨ NAME β¨
sc::SCMatrixLTriSubBlockβ theSCMatrixLTriSubBlockdescribes a triangular subblock of a matrix. π
π¦ SYNOPSIS π¦
#include <block.h>
Inherits sc::SCMatrixBlock. π
π Public Member Functions π
SCMatrixLTriSubBlock (int is, int ie, int js, int je, double *data)SCMatrixLTriSubBlock (StateIn &)void save_data_state (StateOut &)β saves 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 iendint jstartint jenddouble * data
π Additional Inherited Members π
This section is here, but the page doesn't list any extra details under it. It's lowkey just the inherited-members section doing its thing. π«Ά
π Detailed Description π
The SCMatrixLTriSubBlock describes a triangular subblock of a matrix. Periodt. π
The following bit of code illustrates the data layout:
fill(double **matrix, SCMatrixLTriSubBlock &b) { int offset=(b.istart*(b.istart+1)>>1) + b.jstart; for (int i=b.start; i<b.end; i++) { for (int j=b.start; j<=i && j<b.jend; j++,offset++) { matrix[i][j] = b.data[offset]; } if (j>i) offset += b.istart; else offset += i + b.jstart - b.jend; } }
π§ Member Function Documentation π§
void sc::SCMatrixLTriSubBlock::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. πΎ
Reimplemented from sc::SCMatrixBlock. π
π Author π
Generated automatically by Doxygen for MPQC from the source code. π€
That's the whole page, bestie! It's Version 2.3.1, dated Sun Oct 4 2020, and it's the sc::SCMatrixLTriSubBlock(3) manual page. Slay, you made it. πβ¨
π¦ 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