![]() |
constant, random, range, etc. More...
Modules | |
Random Number Generation | |
Random Number Generation Functions. | |
constant | |
Create a array from a scalar input value. | |
diag | |
Extract diagonal from a matrix when extract is set to true. | |
identity | |
Create an identity array with diagonal values 1. | |
iota | |
Create an sequence [0, dims.elements() - 1] and modify to specified dimensions dims and then tile it according to tile_dims. | |
lower | |
Create a lower triangular matrix from input array. | |
pad | |
Pad an array. | |
range | |
Creates an array with [0, n] values along the seq_dim which is tiled across other dimensions. | |
upper | |
Create a upper triangular matrix from input array. | |
array & | eval (array &a) |
Evaluate an expression (nonblocking). More... | |
AFAPI void | eval (int num, array **arrays) |
Evaluate multiple arrays simultaneously. More... | |
void | eval (array &a, array &b) |
void | eval (array &a, array &b, array &c) |
void | eval (array &a, array &b, array &c, array &d) |
void | eval (array &a, array &b, array &c, array &d, array &e) |
void | eval (array &a, array &b, array &c, array &d, array &e, array &f) |
const array & | eval (const array &a) |
Evaluate an expression (nonblocking). More... | |
void | eval (const array &a, const array &b) |
void | eval (const array &a, const array &b, const array &c) |
void | eval (const array &a, const array &b, const array &c, const array &d) |
void | eval (const array &a, const array &b, const array &c, const array &d, const array &e) |
void | eval (const array &a, const array &b, const array &c, const array &d, const array &e, const array &f) |
AFAPI void | setManualEvalFlag (bool flag) |
Turn the manual eval flag on or off. More... | |
AFAPI bool | getManualEvalFlag () |
Get the manual eval flag. More... | |
constant, random, range, etc.
Evaluate an expression (nonblocking).
Definition at line 1431 of file array.h.
Definition at line 1440 of file array.h.
AFAPI bool af::getManualEvalFlag | ( | ) |
Get the manual eval flag.
AFAPI void af::setManualEvalFlag | ( | bool | flag | ) |
Turn the manual eval flag on or off.