#include <CHArray.H>

Saves the byte required to store the rank1 indexer (which itself holds no data if DimT=USz_t)
Public Member Functions | |
| RSIndexer () | |
| RSIndexer (const IIx_t offset, const USz_t &dim1, const USz_t &dim0) | |
| void | ixDefine (const IIx_t offset, const USz_t &dim1, const USz_t &dim0) |
| USz_t | ixIndex1D (const USz_t size, const IIx_t i1, const IIx_t i0) const |
| USz_t | ixDimSize (const USz_t size, const unsigned dim) const |
| IIx_t | ixLowerBound (const unsigned dim) const |
| IIx_t | ixUpperBound (const USz_t size, const unsigned dim) const |
| unsigned | ixIV (const unsigned i) const |
Private Types | |
| typedef IndexerData< 2, USz_t > | IxData |
typedef IndexerData<2, USz_t> ArSp::ArSp::RSIndexer< 2, USz_t >::IxData [private] |
| ArSp::ArSp::RSIndexer< 2, USz_t >::RSIndexer | ( | const IIx_t | offset, | |
| const USz_t & | dim1, | |||
| const USz_t & | dim0 | |||
| ) | [inline] |
| void ArSp::ArSp::RSIndexer< 2, USz_t >::ixDefine | ( | const IIx_t | offset, | |
| const USz_t & | dim1, | |||
| const USz_t & | dim0 | |||
| ) | [inline] |
| USz_t ArSp::ArSp::RSIndexer< 2, USz_t >::ixIndex1D | ( | const USz_t | size, | |
| const IIx_t | i1, | |||
| const IIx_t | i0 | |||
| ) | const [inline] |
References CH_assert.
| USz_t ArSp::ArSp::RSIndexer< 2, USz_t >::ixDimSize | ( | const USz_t | size, | |
| const unsigned | dim | |||
| ) | const [inline] |
| IIx_t ArSp::ArSp::RSIndexer< 2, USz_t >::ixUpperBound | ( | const USz_t | size, | |
| const unsigned | dim | |||
| ) | const [inline] |
| unsigned ArSp::ArSp::RSIndexer< 2, USz_t >::ixIV | ( | const unsigned | i | ) | const [inline] |
References SpaceDim.
1.5.5