dune-functions
2.5.1
|
Class representing a shifted multi index. More...
#include <dune/functions/common/indexaccess.hh>
Public Member Functions | |
ShiftedMultiIndex (const Index &index) | |
template<class P > | |
decltype(auto) | operator[] (const P &position) const |
ShiftedMultiIndex< Index, offset+1 > | pop () const |
Return multi index with one more position truncated. More... | |
auto | size () const |
Class representing a shifted multi index.
Index | Type of the base multi index |
offset | Number of positions to shift left |
For a given multi index of size n this represents a multi index with the first offset entries removed.
Notice that this does only store a reference to the passed multi index.
|
inline |
|
inline |
|
inline |
Return multi index with one more position truncated.
|
inline |