sc_SCMatrixBlockIter

Langue: en

Autres versions - même langue

Version: 355488 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

sc::SCMatrixBlockIter -

The SCMatrixBlockIter class is used to described iterates that loop through the elements in a block.

SYNOPSIS


#include <blkiter.h>

Inherited by sc::SCMatrixDiagBlockIter, sc::SCMatrixDiagSubBlockIter, sc::SCMatrixLTriBlockIter, sc::SCMatrixLTriSubBlockIter, sc::SCMatrixRectBlockIter, sc::SCMatrixRectSubBlockIter, sc::SCVectorSimpleBlockIter, and sc::SCVectorSimpleSubBlockIter.

Public Member Functions


virtual int i ()=0
Returns the row index.
virtual int j ()=0
Returns the column index.
virtual void set (double val)=0
Set the current element to val.
virtual void accum (double val)
Add val to the current element.
virtual double get ()=0
Return the value of the current element.
virtual operator int ()=0
Return nonzero if there are more elements.
virtual void operator++ ()=0
Move to the next element.
void operator++ (int)

virtual void reset ()=0
Start the iteration over.

Detailed Description

The SCMatrixBlockIter class is used to described iterates that loop through the elements in a block.

Author

Generated automatically by Doxygen for MPQC from the source code.