#include <multiindex.h>
Public Member Functions | |
MultiIndex () | |
MultiIndex (const MultiIndex &lambda) | |
MultiIndex (const I &i0) | |
MultiIndex (const I &i0, const I &i1) | |
bool | operator== (const MultiIndex &lambda) const |
check equality | |
bool | operator!= (const MultiIndex &lambda) const |
check non-equality | |
bool | operator< (const MultiIndex &lambda) const |
bool | lex (const MultiIndex &lambda) const |
bool | operator<= (const MultiIndex &lambda) const |
ordered by distance from 0 | |
bool | operator>= (const MultiIndex &lambda) const |
ordered by distance from 0 | |
MultiIndex & | operator++ () |
MultiIndex | operator++ (int) |
unsigned long int | number () |
Template class for (homogeneous) multiindices of a priori known length with values in ^d. The class is designed to be used as index class in a std::map<I,.>. Values in ^d are not prohibited, but also not supported. The ordering and numbering will be wrong in this case!
MathTL::MultiIndex< I, DIMENSION >::MultiIndex | ( | ) |
default constructor, yields a zero multiindex
MathTL::MultiIndex< I, DIMENSION >::MultiIndex | ( | const MultiIndex< I, DIMENSION > & | lambda | ) |
copy constructor
MathTL::MultiIndex< I, DIMENSION >::MultiIndex | ( | const I & | i0 | ) | [explicit] |
constructor from a single index, this is only allowed for DIMENSION == 1
MathTL::MultiIndex< I, DIMENSION >::MultiIndex | ( | const I & | i0, |
const I & | i1 | ||
) |
constructor from two single indices, this is only allowed for DIMENSION == 2