sc::SCVectorSimpleSubBlock(3)
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 aStateIn &.void save_data_state (StateOut &)β Save the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.void process (SCElementOp *)β process with anSCElementOp *.void process (SCElementOp2 *, SCMatrixBlock *)β process with anSCElementOp2 *and anSCMatrixBlock *.void process (SCElementOp3 *, SCMatrixBlock *, SCMatrixBlock *)β process with anSCElementOp3 *and twoSCMatrixBlock *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
- 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