sc::SCMatrixDiagSubBlock(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

πŸ’– 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 with istart, iend, jstart, offset, and a double *data, all up in here 🌸
  • SCMatrixDiagSubBlock (int istart, int iend, int offset, double *data) β€” the other constructor, this one without a jstart, no cap ✨
  • SCMatrixDiagSubBlock (StateIn &) β€” constructor from a StateIn & because state has to come from somewhere πŸŽ€
  • void save_data_state (StateOut &) β€” saves the base classes (with save_data_state) and the members in the exact same order that the StateIn CTOR initializes them, bestie. this is important: it must be implemented by the derived class if the class has data πŸ’Ύ
  • void process (SCElementOp *) β€” processes an SCElementOp * ⭐
  • void process (SCElementOp2 *, SCMatrixBlock *) β€” processes an SCElementOp2 * plus an SCMatrixBlock *, iconic duo behavior 🫢
  • void process (SCElementOp3 *, SCMatrixBlock *, SCMatrixBlock *) β€” processes an SCElementOp3 * with two SCMatrixBlock * friends, a whole group chat πŸ”₯

🌈 Public Attributes 🌈

  • int istart β€” an int named istart πŸ“
  • int jstart β€” an int named jstart πŸ“
  • int iend β€” an int named iend πŸ“
  • int offset β€” an int named offset πŸ“
  • double * data β€” a double * named data, 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