28 #ifndef _math_scmat_blkiter_h
29 #define _math_scmat_blkiter_h
31 #include <math/scmat/block.h>
35 class SCMatrixRectBlock;
36 class SCMatrixLTriBlock;
37 class SCMatrixDiagBlock;
38 class SCVectorSimpleBlock;
55 virtual void set(
double val) = 0;
57 virtual void accum(
double val);
59 virtual double get() = 0;
61 virtual operator int() = 0;
66 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:175
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:253
The SCMatrixRectBlock describes a rectangular piece of a matrix.
Definition: block.h:183
double get()
Return the value of the current element.
The SCMatrixLTriSubBlock describes a triangular subblock of a matrix.
Definition: block.h:288
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:154
int i()
Returns the row index.
void operator++()
Move to the next element.
Definition: blkiter.h:123
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:123
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:46
The SCMatrixDiagBlock describes a diagonal piece of a matrix.
Definition: block.h:318
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:105
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:158
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:219
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:192
void operator++()
Move to the next element.
int i()
Returns the row index.
Definition: blkiter.h:141
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
int j()
Returns the column index.
void reset()
Start the iteration over.
The SCMatrixDiagSubBlock describes a diagonal subblock of a matrix.
Definition: block.h:351
int j()
Returns the column index.
Generated at Sun Jan 26 2020 23:24:00 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.