template<int TYPE = 1>
class WmIndexer< TYPE >
template<typename T> class WxArray;
WmIndexer provides a way to map an element of an n-dimensional index set into a single integer.
|
| WmIndexer () |
| The default constructor creates an empty WmIndexer object.
|
|
| WmIndexer (const WxRange &r) |
| Constructs indexer for a given range.
|
|
| WmIndexer (unsigned rank, int *ai, const WxRange &r) |
|
| ~WmIndexer () |
|
| WmIndexer (const WmIndexer &idx) |
|
WmIndexer & | operator= (const WmIndexer &idx) |
|
unsigned | rank () const |
| Rank of indexer.
|
|
const WxRange & | range () const |
| Range of set indexed.
|
|
int | index (int k1) const |
| Index 1D array.
|
|
int | index (int k1, int k2) const |
| Index 2D array.
|
|
int | index (int k1, int k2, int k3) const |
| Index 3D array.
|
|
int | index (int k1, int k2, int k3, int k4) const |
| Index 4D array.
|
|
int | index (const int *k) const |
| Index arbitrary dimensional array.
|
|
int * | invIndex (unsigned loc, int *indicesReturn) const |
| Return index location given a linear offset.
|
|
int | index (int k1) const |
|
int | index (int k1, int k2) const |
|
int | index (int k1, int k2, int k3) const |
|
int | index (int k1, int k2, int k3, int k4) const |
|
int * | invIndex (unsigned loc, int *indicesReturn) const |
|
int | index (int k1) const |
|
int | index (int k1, int k2) const |
|
int | index (int k1, int k2, int k3) const |
|
int | index (int k1, int k2, int k3, int k4) const |
|
int * | invIndex (unsigned loc, int *indicesReturn) const |
|