sc::SCVectorSimpleSubBlock(3)

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

okay so this is the sc::SCVectorSimpleSubBlock(3) page from the MPQC manual, bestie β€” and it’s all about describing a subblock of a vector. πŸ’–

✨ NAME ✨

The SCVectorSimpleSubBlock describes a subblock of a vector. That’s the whole assignment, no cap. πŸ’…

🌸 SYNOPSIS 🌸

#include <block.h>

Inherits sc::SCMatrixBlock.

πŸ’… Public Member Functions

  • SCVectorSimpleSubBlock (int istart, int iend, int offset, double *data) β€” constructor that takes exactly those args, periodt.
  • SCVectorSimpleSubBlock (StateIn &) β€” constructor from a 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 *) β€” process with an SCElementOp *.
  • void process (SCElementOp2 *, SCMatrixBlock *) β€” process with an SCElementOp2 * and an SCMatrixBlock *.
  • void process (SCElementOp3 *, SCMatrixBlock *, SCMatrixBlock *) β€” process with an SCElementOp3 * and two SCMatrixBlock *s.

πŸŽ€ Public Attributes

  • int istart β€” public attribute, exact name and type.
  • int iend β€” public attribute, exact name and type.
  • int offset β€” public attribute, exact name and type.
  • double * data β€” public attribute, exact name and type.

πŸ¦‹ Additional Inherited Members πŸ¦‹

Yep, the original page has this section too β€” it doesn’t list any extra members here, so we’re just acknowledging its existence. πŸ’€

πŸ’– Detailed Description πŸ’–

The SCVectorSimpleSubBlock describes a subblock of a vector.

The following bit of code illustrates the data layout:

fill(double *vector, SCVectorSimpleSubBlock &b) { int i,offset=b.offset; for (i=b.istart; i<b.iend; i++,offset++) { vector[i] = b.data[offset]; } }

πŸ‘‘ Member Function Documentation πŸ‘‘

void sc::SCVectorSimpleSubBlock::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.


Version 2.3.1 Β· Sun Oct 4 2020 β€” that’s the sc::SCVectorSimpleSubBlock(3) page, bestie; go forth and slay those vector subblocks. πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from