43 #if AF_API_VERSION >= 38 44 #if AF_COMPILER_CXX_RVALUE_REFERENCES 45 dim4(
dim4 &&other) AF_NOEXCEPT =
default;
53 dim4 &operator=(
dim4 other) AF_NOEXCEPT;
65 dim4(
const unsigned ndims,
const dim_t *
const dims);
71 dim_t elements()
const;
96 dim_t &operator[](
const unsigned dim);
100 const dim_t &operator[](
const unsigned dim)
const;
106 const dim_t *
get()
const {
return dims; }
127 ostr << dims[0] <<
" " AFAPI bool isSpan(const af_seq &seq)
Returns true if the af_seq object represents the entire range of an axis.
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)
Returns the number of elements that will be represented by seq if applied on an array.
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)
Returns the number of elements that the af_seq object represents.
AFAPI array operator-(const array &lhs, const array &rhs)
Subtracts two arrays or an array and a value.
Generic object that represents size and shape.
AFAPI array operator+(const array &lhs, const array &rhs)
Adds two arrays or an array and a value.