17 #if __cplusplus > 199711L // Necessary for NVCC 32 #if __cplusplus > 199711L 40 dim4(
const unsigned ndims,
const dim_t *
const dims);
42 dim_t elements()
const;
50 dim_t& operator[](
const unsigned dim);
51 const dim_t& operator[](
const unsigned dim)
const;
53 const dim_t*
get()
const {
return dims; }
64 ostr << dims[0] <<
" " AFAPI bool isSpan(const af_seq &seq)
Definition: algorithm.h:14
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.
seq is used to create seq for indexing af::array
Definition: seq.h:45
AFAPI dim_t calcDim(const af_seq &seq, const dim_t &parentDim)
long long dim_t
Definition: defines.h:50
AFAPI array operator!=(const array &lhs, const array &rhs)
Performs an inequality operation on two arrays or an array and a value.
#define AFAPI
Definition: defines.h:31
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.
Definition: seq.h:20
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.