length = 0);
222 operator array
Step size between sequence values.
seq operator*(double x)
Multiplication operator spaces the sequence by a factor x.
Negation operator creates a sequence with the signs negated.
Get's the length of the sequence.
Start position of the sequence.
friend seq operator*(double x, seq y)
End position of the sequence (inclusive)
Flag for gfor.
AFAPI af_seq af_make_seq(double begin, double end, double step)
Create a new af_seq object.
AFAPI seq span
A special value representing the entire axis of an af::array.
seq is used to create sequences for indexing af::array
seq operator-(double x)
Subtraction operator offsets the begin and end by x.
friend seq operator+(double x, seq y)
C-style struct to creating sequences for indexing.
Get the af_seq C-style struct.
friend seq operator-(double x, seq y)
static af::array array(af::dim4 idims, cl_mem buf, af::dtype type, bool retain=false)
Create an af::array object from an OpenCL cl_mem buffer.
static const af_seq af_span
seq operator+(double x)
Addition operator offsets the begin and end by x.