Functions | |
| array () | |
| Create non-dimensioned array (no data, undefined size). | |
| array (const dim4 &dims, dtype ty=f32) | |
| Allocate an array with undefined contents. | |
| array (int d0, int d1, dtype ty=f32) | |
| Allocate an array with undefined contents. | |
| array (int d0, int d1, int d2, dtype ty=f32) | |
| Allocate an array with undefined contents. | |
| array (int d0, int d1, int d2, int d3, dtype ty=f32) | |
| Allocate an array with undefined contents. | |
| array (const array &) | |
| Duplicate an existing array (copy constructor). | |
| array (const seq &s) | |
| Convert a seq object for use with arithmetic. | |
| template<typename ty > | |
| array (unsigned dim0, const ty *pointer, af_source_t src=afHostPointer, unsigned ngfor=0) | |
Create column vector from pointer. | |
| template<typename ty > | |
| array (unsigned dim0, unsigned dim1, const ty *pointer, af_source_t src=afHostPointer, unsigned ngfor=0) | |
Create matrix from pointer. | |
| template<typename ty > | |
| array (unsigned dim0, unsigned dim1, unsigned dim2, const ty *pointer, af_source_t src=afHostPointer, unsigned ngfor=0) | |
Create volume from pointer. | |
| template<typename ty > | |
| array (unsigned dim0, unsigned dim1, unsigned dim2, unsigned dim3, const ty *pointer, af_source_t src=afHostPointer, unsigned ngfor=0) | |
Create 4D array from pointer. | |
| template<typename ty > | |
| array (const dim4 &dims, const ty *pointer, af_source_t src=afHostPointer, unsigned ngfor=0) | |
Create array from pointer. | |
| template<typename ty > | |
| static array | scalar (const ty) |
| Push scalar value to the device. | |
| array | ( | ) | [inherited] |
Create non-dimensioned array (no data, undefined size).
| array | ( | int | d0, |
| int | d1, | ||
| dtype | ty = f32 |
||
| ) | [inherited] |
Allocate an array with undefined contents.
| array | ( | int | d0, |
| int | d1, | ||
| int | d2, | ||
| dtype | ty = f32 |
||
| ) | [inherited] |
Allocate an array with undefined contents.
| array | ( | int | d0, |
| int | d1, | ||
| int | d2, | ||
| int | d3, | ||
| dtype | ty = f32 |
||
| ) | [inherited] |
Allocate an array with undefined contents.
| array | ( | const array & | ) | [inherited] |
Duplicate an existing array (copy constructor).
| array | ( | const seq & | s | ) | [inherited] |
| array | ( | unsigned | dim0, |
| const ty * | pointer, | ||
| af_source_t | src = afHostPointer, |
||
| unsigned | ngfor = 0 |
||
| ) | [inherited] |
Create column vector from pointer.
| array | ( | unsigned | dim0, |
| unsigned | dim1, | ||
| const ty * | pointer, | ||
| af_source_t | src = afHostPointer, |
||
| unsigned | ngfor = 0 |
||
| ) | [inherited] |
Create matrix from pointer.
| array | ( | unsigned | dim0, |
| unsigned | dim1, | ||
| unsigned | dim2, | ||
| const ty * | pointer, | ||
| af_source_t | src = afHostPointer, |
||
| unsigned | ngfor = 0 |
||
| ) | [inherited] |
Create volume from pointer.
| array | ( | unsigned | dim0, |
| unsigned | dim1, | ||
| unsigned | dim2, | ||
| unsigned | dim3, | ||
| const ty * | pointer, | ||
| af_source_t | src = afHostPointer, |
||
| unsigned | ngfor = 0 |
||
| ) | [inherited] |
Create 4D array from pointer.
| array | ( | const dim4 & | dims, |
| const ty * | pointer, | ||
| af_source_t | src = afHostPointer, |
||
| unsigned | ngfor = 0 |
||
| ) | [inherited] |
Create array from pointer.
| static array scalar | ( | const ty | ) | [static, inherited] |
Push scalar value to the device.