|
MPQC
3.0.0-alpha
|
BlockIter loops through the all the indices within a block. More...
#include <chemistry/qc/lmp2/sma.h>
Public Member Functions | |
| BlockIter (const Range *index, const BlockInfo< N > &bi) | |
| BlockIter (const Range *index, const BlockInfo< N > &bi, const IndexList &il) | |
| void | start () |
| Initialize the iterator. | |
| bool | ready () const |
| Returns true if the iterator is valid. | |
| void | operator++ (int) |
| Increments the iterator. | |
| int | offset () |
| int | subset_offset (const IndexList &subset_indexlist) |
| int | block_size (int i) const |
| Returns the size of the given block. | |
| int & | index (int i) |
| const int & | index (int i) const |
BlockIter loops through the all the indices within a block.