Basic constructors. More...
Modules | |
| From host pointers | |
Construct using the data from a memory buffer. | |
| From arrays | |
Construct using another array. | |
Functions | |
| af::array::array (int rows, int cols=1, af_type type=AF_SINGLE_REAL) | |
| Creates an array of size rows x cols. | |
| af::array::array () | |
| Empty constructor. | |
| af::array::~array () | |
| Destructor. | |
Basic constructors.
| [in] | rows | Number of rows in array |
| [in] | cols | Number of columns in array |
| [in] | type | The array data type (default: single precsion real) |
| af::array::array | ( | int | rows, |
| int | cols = 1, |
||
| af_type | type = AF_SINGLE_REAL |
||
| ) |
Creates an array of size rows x cols.
| af::array::array | ( | ) |
Empty constructor.
| af::array::~array | ( | ) |
Destructor.