sc::SCMatrixLTriSubBlock(3)

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

πŸ’… 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 β€” the SCMatrixLTriSubBlock describes 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 (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 iend
  • int jstart
  • int jend
  • double * 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