|
My Project
|
|
Go to the documentation of this file.
80 seq(
double length = 0);
107 seq(
double begin,
double end,
double step = 1);
117 seq(seq afs,
bool is_gfor);
134 seq& operator=(
const af_seq& s);
222 operator array()
const;
225 void init(
double begin,
double end,
double step);
seq is used to create seq for indexing af::array
Definition: seq.h:44
#define AFAPI
Definition: defines.h:30
Definition: algorithm.h:13
double end
End position of the sequence (inclusive)
Definition: seq.h:24
AFAPI af_seq af_make_seq(double begin, double end, double step)
AFAPI array operator-(const array &lhs, const array &rhs)
Subtracts two arrays or an array and a value.
double begin
Start position of the sequence.
Definition: seq.h:21
static const af_seq af_span
Definition: seq.h:30
AFAPI array operator*(const array &lhs, const array &rhs)
Multiplies two arrays or an array and a value.
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.
Definition: opencl.h:328
AFAPI array operator+(const array &lhs, const array &rhs)
Adds two arrays or an array and a value.
double step
Step size between sequence values.
Definition: seq.h:27
C-style struct to creating sequences for indexing.
Definition: seq.h:19