Public Member Functions | |
unsigned int | operator[] (const unsigned int i) const |
bool | operator== (const TableIndicesBase< N > &other) const |
bool | operator!= (const TableIndicesBase< N > &other) const |
void | sort () |
Protected Attributes | |
unsigned | indices [N] |
unsigned int TableIndicesBase< N >::operator[] | ( | const unsigned int | i | ) | const [inline] |
Access the value of the i
th index.
References Assert, TableIndicesBase< N >::indices, and LAPACKSupport::N.
bool TableIndicesBase< N >::operator== | ( | const TableIndicesBase< N > & | other | ) | const [inline] |
Compare two index fields for equality.
References TableIndicesBase< N >::indices, and LAPACKSupport::N.
bool TableIndicesBase< N >::operator!= | ( | const TableIndicesBase< N > & | other | ) | const [inline] |
Compare two index fields for inequality.
void TableIndicesBase< N >::sort | ( | ) |
Sort the indices in ascending order. While this operation is not very useful for Table objects, it is used for the SymmetricTensor class.
unsigned TableIndicesBase< N >::indices[N] [protected] |
Store the indices in an array.
Referenced by TableIndicesBase< N >::operator==(), TableIndicesBase< N >::operator[](), TableIndicesBase< 3 >::sort(), and TableIndicesBase< 2 >::sort().