dune-pdelab
2.5-dev
|
A class for representing multi-indices. More...
#include <dune/pdelab/common/multiindex.hh>
Classes | |
class | View |
Public Member Functions | |
MultiIndex () | |
MultiIndex (const View &view) | |
void | set (typename ReservedVector< T, n >::value_type index) |
View | view () const |
View | view (std::size_t size) const |
bool | operator== (const MultiIndex &r) const |
Tests whether two MultiIndices are equal. More... | |
bool | operator!= (const MultiIndex &r) const |
Tests whether two MultiIndices are not equal. More... | |
Static Public Attributes | |
static const std::size_t | max_depth = n |
The maximum possible depth of the MultiIndex. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &s, const MultiIndex &mi) |
Writes a pretty representation of the MultiIndex to the given std::ostream. More... | |
A class for representing multi-indices.
A MultiIndex represents an ordered tuple of indices.
T | the type of the index entries. |
n | the maximum number of indices in the MultiIndex. |
|
inline |
|
inline |
|
inline |
Tests whether two MultiIndices are not equal.
|
inline |
Tests whether two MultiIndices are equal.
|
inline |
|
inline |
|
inline |
|
friend |
Writes a pretty representation of the MultiIndex to the given std::ostream.
|
static |
The maximum possible depth of the MultiIndex.