DOKK / manpages / debian 11 / libsc-doc / sc_SCMatrixSubblockIter.3.en
sc::SCMatrixSubblockIter(3) MPQC sc::SCMatrixSubblockIter(3)

sc::SCMatrixSubblockIter - Objects of class SCMatrixSubblockIter are used to iterate through the blocks of a matrix.

#include <block.h>

Inherits sc::RefCount.

Inherited by sc::SCMatrixCompositeSubblockIter, sc::SCMatrixJointSubblockIter, sc::SCMatrixListSubblockIter, sc::SCMatrixNullSubblockIter, and sc::SCMatrixSimpleSubblockIter.


enum Access { Read, Write, Accum, None }


SCMatrixSubblockIter (Access access)
The access variable should be one of Read, Write, Accum, and None, with the SCMatrixSubblockIter:: 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 of Access allowed for these blocks.


Access access_

Objects of class SCMatrixSubblockIter are used to iterate through the blocks of a matrix.

The object must be deleted before using the matrix that owns the blocks that SCMatrixSubblockIter is iterating through.

Generated automatically by Doxygen for MPQC from the source code.

Sun Oct 4 2020 Version 2.3.1