Macros
-
MARRAY_LEN_TYPE
User-definable macro defining the type of tensor indices.
Default is
ptrdiff_t.Note
This type must be signed.
-
MARRAY_STRIDE_TYPE
User-definable macro defining the type of tensor strides.
Default is
ptrdiff_t.Note
This type must be signed.
-
MARRAY_OPT_NDIM
User-definable macro which indicates the highest number of tensor dimensions likely to be encountered.
Tensors with a larger number of dimensions may always be created, but dynamic allocation will be used for and dimension-specific data.
-
MARRAY_DEBUG
User-definable macro requesting error checking (including full bounds checking).
-
MARRAY_DEFAULT_LAYOUT
User-definable macro specifying the default tensor layout.
#definethis macro to either ROW_MAJOR or COLUMN_MAJOR before including any MArray headers. Otherwise, the default is ROW_MAJOR. The default can be also overriden when constructing a tensor or view.