mir.ndslice.traits

Multidimensional traits

This is a submodule of mir.ndslice.

Function

Function NameDescription
isVectorTest if type is a one-dimensional slice.
isMatrixTest if type is a two-dimensional slice.
isContiguousSliceTest if type is a contiguous slice.
isCanonicalSliceTest if type is a canonical slice.
isUniversalSliceTest if type is a universal slice.
isContiguousVectorTest if type is a contiguous one-dimensional slice.
isUniversalVectorTest if type is a universal one-dimensional slice.
isContiguousMatrixTest if type is a contiguous two-dimensional slice.
isCanonicalMatrixTest if type is a canonical two-dimensional slice.
isUniversalMatrixTest if type is a universal two-dimensional slice.
isIteratorTest if type is a random access iterator.

Members

Templates

isIterator
template isIterator(T)

Variables

isCanonicalMatrix
enum bool isCanonicalMatrix(T);

Test if type is a canonical two-dimensional slice.

isCanonicalSlice
enum bool isCanonicalSlice(T);

Test if type is a canonical slice.

isContiguousMatrix
enum bool isContiguousMatrix(T);

Test if type is a contiguous two-dimensional slice.

isContiguousSlice
enum bool isContiguousSlice(T);

Test if type is a contiguous slice.

isContiguousVector
enum bool isContiguousVector(T);

Test if type is a contiguous one-dimensional slice.

isMatrix
enum bool isMatrix(T);

Test if type is a two-dimensional slice.

isUniversalMatrix
enum bool isUniversalMatrix(T);

Test if type is a universal two-dimensional slice.

isUniversalSlice
enum bool isUniversalSlice(T);

Test if type is a universal slice.

isUniversalVector
enum bool isUniversalVector(T);

Test if type is a universal one-dimensional slice.

isVector
enum bool isVector(T);

Test if type is a one-dimensional slice.

Meta

License

Apache-2.0

Authors

John Hall