DO MORE. CODE LESS. Free software for GPU computing on AMD, Intel, and NVIDIA.
Modules | Functions
Constructors

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.

Detailed Description

Basic constructors.

Parameters:
[in]rowsNumber of rows in array
[in]colsNumber of columns in array
[in]typeThe array data type (default: single precsion real)

Function Documentation

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines