34 dim4(
const unsigned ndims,
const dim_t *
const dims);
36 dim_t elements()
const;
44 dim_t& operator[](
const unsigned dim);
45 const dim_t& operator[](
const unsigned dim)
const;
47 const dim_t*
get()
const {
return dims; }
58 ostr << dims[0] <<
" " AFAPI bool isSpan(const af_seq &seq)
AFAPI array operator==(const array &lhs, const array &rhs)
Performs an equality operation on 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 right shift operation on two arrays or an array and a value.
AFAPI dim_t calcDim(const af_seq &seq, const dim_t &parentDim)
AFAPI array operator!=(const array &lhs, const array &rhs)
Performs an inequality operation on 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.
C-style struct to creating sequences for indexing.
AFAPI size_t seqElements(const af_seq &seq)
AFAPI array operator-(const array &lhs, const array &rhs)
Subtracts two arrays or an array and a value.
AFAPI array operator+(const array &lhs, const array &rhs)
Adds two arrays or an array and a value.