sc::SCMatrixSubblockIter(3)
π NAME π
okay so bestie, this is sc::SCMatrixSubblockIter(3) from the MPQC manual, and itβs literally the guide to the iterator objects that go block by block. Objects of class SCMatrixSubblockIter are used to iterate through the blocks of a matrix. Thatβs the whole name vibe. π
π¦ SYNOPSIS π¦
#include <block.h>
- Inherits
sc::RefCount. - Inherited by
sc::SCMatrixCompositeSubblockIter,sc::SCMatrixJointSubblockIter,sc::SCMatrixListSubblockIter,sc::SCMatrixNullSubblockIter, andsc::SCMatrixSimpleSubblockIter.
πΈ Public Types πΈ
enum Access { Read, Write, Accum, None }β the access enum, serving all four options exactly like that. π«Ά
π Public Member Functions π
SCMatrixSubblockIter (Access access)β constructor time! Theaccessvariable should be one ofRead,Write,Accum, andNone, with theSCMatrixSubblockIter::scope operator applied. πvirtual void begin ()=0β start at the beginning.virtual int ready ()=0β returns nonzero if there is another block.virtual void next ()=0β proceed to the next block.virtual SCMatrixBlock * block ()=0β return the current block.Access access () constβ return the type ofAccessallowed for these blocks.
π Protected Attributes π
Access access_β the protected attribute listed on the page. Keep it protected, keep it cute. π
π§ Additional Inherited Members π§
This section exists on the page, but it doesnβt spell out any additional inherited members under it. Thatβs the tea. π΅
π Detailed Description π
Objects of class SCMatrixSubblockIter are used to iterate through the blocks of a matrix.
β οΈ real talk: the object must be deleted before using the matrix that owns the blocks that SCMatrixSubblockIter is iterating through. Do not skip this step, bestie β this is the kind of thing that will absolutely ruin your whole day. π
β¨ Author β¨
Generated automatically by Doxygen for MPQC from the source code. Yes, Doxygen did the typing, weβre just adding the sparkle. β¨
And thatβs the page, signing off from the MPQC source with version 2.3.1, dated Sun Oct 4 2020. Mwah ππ
π¦ 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