sc::SCMatrixRectSubBlock(3)

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

πŸŽ€ 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 (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. πŸ“
  • void process (SCElementOp *)
  • void process (SCElementOp2 *, SCMatrixBlock *)
  • void process (SCElementOp3 *, SCMatrixBlock *, SCMatrixBlock *)

🌸 Public Attributes 🌸

  • int istart
  • int jstart
  • int iend
  • int jend
  • int istride
  • double * 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