#include <matutri.h>
Inheritance diagram for UpperTriangular:
Public Types | |
typedef UpperTriangularIterator | T_iterator |
Public Member Functions | |
UpperTriangular () | |
UpperTriangular (unsigned size) | |
UpperTriangular (unsigned rows, unsigned cols) | |
unsigned | columns () const |
unsigned | coordToOffset (unsigned i, unsigned j) const |
unsigned | firstInRow (unsigned i) const |
template<typename T_numtype> | |
T_numtype | get (const T_numtype *restrict data, unsigned i, unsigned j) const |
template<typename T_numtype> | |
T_numtype & | get (T_numtype *restrict data, unsigned i, unsigned j) |
unsigned | lastInRow (unsigned i) const |
unsigned | firstInCol (unsigned j) const |
unsigned | lastInCol (unsigned j) const |
bool | inRange (const unsigned i, const unsigned j) const |
unsigned | numElements () const |
unsigned | rows () const |
void | resize (const unsigned size) |
void | resize (const unsigned rows, const unsigned cols) |
Private Attributes | |
unsigned | size_ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|