ArrayFire: Functions to create arrays.
constant, random, range, etc. More...
Modules | |
| Random Number Generation | |
| Random Number Generation Functions. | |
| constant | |
| Create an array from a scalar input value. | |
| diag | |
| Extract the diagonal from an array. | |
| identity | |
| Generate an identity matrix. | |
| iota | |
Generate an array with [0, n-1] values modified to specified dimensions and tiling. | |
| lower | |
| Return the lower triangular matrix from an input array. | |
| pad | |
| Pad an array. | |
| range | |
Generate an array with [0, n-1] values along the a specified dimension and tiled across other dimensions. | |
| upper | |
| Return the upper triangular matrix from an 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.
◆ eval() [1/13]
◆ eval() [2/13]
◆ eval() [3/13]
◆ eval() [4/13]
◆ eval() [5/13]
◆ eval() [6/13]
◆ eval() [7/13]
◆ eval() [8/13]
◆ eval() [9/13]
◆ eval() [10/13]
◆ eval() [11/13]
◆ eval() [12/13]
Definition at line 1609 of file array.h.
1609 {
1610 const array *arrays[] = {&a, &b, &c, &d, &e, &f};
1611 return eval(6, const_cast<array **>(arrays));
1612 }
1613#endif
1614#endif
◆ eval() [13/13]
Evaluate multiple arrays simultaneously.
◆ getManualEvalFlag()
| AFAPI bool getManualEvalFlag | ( | ) |
Get the manual eval flag.
◆ setManualEvalFlag()
| AFAPI void setManualEvalFlag | ( | bool | flag | ) |
Turn the manual eval flag on or off.