17#if __cplusplus > 199711L
32#if __cplusplus > 199711L
40 dim4(
const unsigned ndims,
const dim_t *
const dims);
64 ostr << dims[0] <<
" "
dim4(const unsigned ndims, const dim_t *const dims)
dim4 & operator-=(const dim4 &other)
const dim_t & operator[](const unsigned dim) const
dim_t & operator[](const unsigned dim)
const dim_t * get() const
Definition: dim4.hpp:53
dim4 & operator*=(const dim4 &other)
bool operator!=(const dim4 &other) const
dim4(dim_t first, dim_t second=1, dim_t third=1, dim_t fourth=1)
bool operator==(const dim4 &other) const
dim4 & operator+=(const dim4 &other)
dim_t * get()
Definition: dim4.hpp:52
seq is used to create seq for indexing af::array
Definition: seq.h:46
long long dim_t
Definition: defines.h:50
#define AFAPI
Definition: defines.h:31
AFAPI array operator+(const array &lhs, const array &rhs)
Adds two arrays or an array and a value.
AFAPI array operator*(const array &lhs, const array &rhs)
Multiplies two arrays or an array and a value.
AFAPI array operator<<(const array &lhs, const array &rhs)
Performs an left shift operation on two arrays or an array and a value.
AFAPI array operator>>(const array &lhs, const array &rhs)
Performs an right shift operation on two arrays or an array and a value.
AFAPI array operator-(const array &lhs, const array &rhs)
Subtracts two arrays or an array and a value.
Definition: algorithm.h:15
AFAPI dim_t calcDim(const af_seq &seq, const dim_t &parentDim)
AFAPI size_t seqElements(const af_seq &seq)
AFAPI bool isSpan(const af_seq &seq)
C-style struct to creating sequences for indexing.
Definition: seq.h:20