An array reference class, which is a convenience class for reference pointers to multidimensional memory arrays. More...
#include <ArrayRef.hpp>
An array reference class, which is a convenience class for reference pointers to multidimensional memory arrays.
It allows easy creation of a multidimensional memory-managed array with efficient access to the array elements through one-dimensional and multi-dimensional indices.
Note that the template arguments are reversed as compared with MemArray and MultiArray. This is to allow default template arguments for the dimenions for convenience, such that it is sufficient to define just the type of the array.
T | The type of the array | |
N | The dimension of the array, one by default if left unspecified. |