|
YAKL_INLINE | Dims () |
|
template<class INT , unsigned int RANK, typename std::enable_if< std::is_integral< INT >::value, bool >::type = false> |
| Dims (CSArray< INT, 1, RANK > const dims) |
| This constructor allows converting a CSArray object to a yakl::Dims object. More...
|
|
YAKL_INLINE | Dims (Dims &&dims) |
|
YAKL_INLINE | Dims (Dims const &dims) |
|
YAKL_INLINE | Dims (int i0) |
| Construct a 1-D Dims object) More...
|
|
YAKL_INLINE | Dims (int i0, int i1) |
| Construct a 2-D Dims object) More...
|
|
YAKL_INLINE | Dims (int i0, int i1, int i2) |
| Construct a 3-D Dims object) More...
|
|
YAKL_INLINE | Dims (int i0, int i1, int i2, int i3) |
| Construct a 4-D Dims object) More...
|
|
YAKL_INLINE | Dims (int i0, int i1, int i2, int i3, int i4) |
| Construct a 5-D Dims object) More...
|
|
YAKL_INLINE | Dims (int i0, int i1, int i2, int i3, int i4, int i5) |
| Construct a 6-D Dims object) More...
|
|
YAKL_INLINE | Dims (int i0, int i1, int i2, int i3, int i4, int i5, int i6) |
| Construct a 7-D Dims object) More...
|
|
YAKL_INLINE | Dims (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7) |
| Construct an 8-D Dims object) More...
|
|
template<class INT , typename std::enable_if< std::is_integral< INT >::value, bool >::type = false> |
| Dims (std::vector< INT > const dims) |
| This constructor allows converting a std::vector or initializer list to a yakl::Dims object. More...
|
|
YAKL_INLINE Dims & | operator= (Dims &&dims) |
|
YAKL_INLINE Dims & | operator= (Dims const &dims) |
|
YAKL_INLINE int | operator[] (int i) const |
| These objects are always indexed with square bracket notation like a std::vector or std::array. More...
|
|
YAKL_INLINE int | size () const |
| Get the number of dimensions. More...
|
|
This class holds C-style dimensions for using in yakl::Array objects.
You can pass an initializer list {...}
or std::vector as a parameter to this type, and it can be converted to a yakl::Dims object.