#include <matdiag.h>
Public Member Functions | |
DiagonalIterator (const unsigned rows, const unsigned cols) | |
operator bool () const | |
void | operator++ () |
unsigned | row () const |
unsigned | col () const |
unsigned | offset () const |
Protected Attributes | |
unsigned | i_ |
unsigned | size_ |
DiagonalIterator::DiagonalIterator | ( | const unsigned | rows, | |
const unsigned | cols | |||
) | [inline] |
unsigned DiagonalIterator::col | ( | ) | const [inline] |
unsigned DiagonalIterator::offset | ( | ) | const [inline] |
DiagonalIterator::operator bool | ( | ) | const [inline] |
void DiagonalIterator::operator++ | ( | ) | [inline] |
unsigned DiagonalIterator::row | ( | ) | const [inline] |
unsigned DiagonalIterator::i_ [protected] |
unsigned DiagonalIterator::size_ [protected] |