sc_SCMatrixSubblockIter(3)

sc_SCMatrixSubblockIter3

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

Usage

#include <block.h>

Inherits sc::RefCount.

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

Public Types

enum Access { Read, Write, Accum, None }

Public Member Functions

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.

Protected Attributes

Access access_

Additional Inherited Members

Detailed Description

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.

Member Function Documentation

virtual void sc::SCMatrixSubblockIter::begin () [pure virtual]

Start at the beginning.

Implemented in sc::SCMatrixSimpleSubblockIter, sc::SCMatrixListSubblockIter, sc::SCMatrixNullSubblockIter, sc::SCMatrixCompositeSubblockIter, sc::SCMatrixJointSubblockIter, and sc::DistSCMatrixListSubblockIter.

virtual SCMatrixBlock * sc::SCMatrixSubblockIter::block () [pure virtual]

Return the current block.

Implemented in sc::SCMatrixSimpleSubblockIter, sc::SCMatrixListSubblockIter, sc::SCMatrixNullSubblockIter, sc::SCMatrixCompositeSubblockIter, and sc::SCMatrixJointSubblockIter.

virtual void sc::SCMatrixSubblockIter::next () [pure virtual]

Proceed to the next block.

Implemented in sc::SCMatrixSimpleSubblockIter, sc::SCMatrixListSubblockIter, sc::SCMatrixNullSubblockIter, sc::SCMatrixCompositeSubblockIter, sc::SCMatrixJointSubblockIter, and sc::DistSCMatrixListSubblockIter.

virtual int sc::SCMatrixSubblockIter::ready () [pure virtual]

Returns nonzero if there is another block.

Implemented in sc::SCMatrixSimpleSubblockIter, sc::SCMatrixListSubblockIter, sc::SCMatrixNullSubblockIter, sc::SCMatrixCompositeSubblockIter, and sc::SCMatrixJointSubblockIter.

Releases

6 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 11
  6. 12

Author

Generated automatically by Doxygen for MPQC from the source code.

From libsc-doc 2.3.1-22 in Debian 12 (Bookworm). Parsed by carta from the page's man source.