28 #ifndef _math_scmat_blkiter_h
29 #define _math_scmat_blkiter_h
35 #include <math/scmat/block.h>
39 class SCMatrixRectBlock;
40 class SCMatrixLTriBlock;
41 class SCMatrixDiagBlock;
42 class SCVectorSimpleBlock;
59 virtual void set(
double val) = 0;
61 virtual void accum(
double val);
63 virtual double get() = 0;
65 virtual operator int() = 0;
70 virtual void reset() = 0;
double get()
Return the value of the current element.
virtual int j()=0
Returns the column index.
double get()
Return the value of the current element.
double get()
Return the value of the current element.
int i()
Returns the row index.
void set(double)
Set the current element to val.
void reset()
Start the iteration over.
Definition: blkiter.h:179
int j()
Returns the column index.
int j()
Returns the column index.
int j()
Returns the column index.
virtual void reset()=0
Start the iteration over.
double get()
Return the value of the current element.
The SCMatrixLTriBlock describes a triangular piece of a matrix.
Definition: block.h:257
The SCMatrixRectBlock describes a rectangular piece of a matrix.
Definition: block.h:187
double get()
Return the value of the current element.
The SCMatrixLTriSubBlock describes a triangular subblock of a matrix.
Definition: block.h:292
int i()
Returns the row index.
int i()
Returns the row index.
virtual double get()=0
Return the value of the current element.
double get()
Return the value of the current element.
void operator++()
Move to the next element.
void operator++()
Move to the next element.
double get()
Return the value of the current element.
void reset()
Start the iteration over.
int j()
Returns the column index.
void reset()
Start the iteration over.
void operator++()
Move to the next element.
void operator++()
Move to the next element.
int i()
Returns the row index.
The SCVectorSimpleSubBlock describes a subblock of a vector.
Definition: block.h:158
int i()
Returns the row index.
void operator++()
Move to the next element.
Definition: blkiter.h:127
virtual int i()=0
Returns the row index.
void set(double)
Set the current element to val.
void set(double)
Set the current element to val.
virtual void set(double val)=0
Set the current element to val.
The SCVectorSimpleBlock describes a piece of a vector.
Definition: block.h:127
int j()
Returns the column index.
The SCMatrixBlockIter class is used to described iterates that loop through the elements in a block.
Definition: blkiter.h:50
The SCMatrixDiagBlock describes a diagonal piece of a matrix.
Definition: block.h:322
void reset()
Start the iteration over.
void set(double)
Set the current element to val.
virtual void accum(double val)
Add val to the current element.
void reset()
Start the iteration over.
int i()
Returns the row index.
int j()
Returns the column index.
void reset()
Start the iteration over.
Definition: blkiter.h:109
void set(double)
Set the current element to val.
int i()
Returns the row index.
void set(double)
Set the current element to val.
double get()
Return the value of the current element.
Definition: blkiter.h:162
void reset()
Start the iteration over.
void operator++()
Move to the next element.
virtual void operator++()=0
Move to the next element.
The SCMatrixRectSubBlock describes a rectangular piece of a matrix.
Definition: block.h:223
void set(double)
Set the current element to val.
void set(double)
Set the current element to val.
void operator++()
Move to the next element.
Definition: blkiter.h:196
void operator++()
Move to the next element.
int i()
Returns the row index.
Definition: blkiter.h:145
int j()
Returns the column index.
void reset()
Start the iteration over.
The SCMatrixDiagSubBlock describes a diagonal subblock of a matrix.
Definition: block.h:355
int j()
Returns the column index.
Generated at Sun Jan 26 2020 23:33:03 for MPQC
2.3.1 using the documentation package Doxygen
1.8.16.