Print the array to screen. More...

Functions

AFAPI void print (const char *exp, const array &arr)
 
AFAPI void print (const char *exp, const array &arr, const int precision)
 
AFAPI af_err af_print_array (af_array arr)
 
AFAPI af_err af_print_array_gen (const char *exp, const af_array arr, const int precision)
 

Detailed Description

Print the array to screen.

Print Array and dimensions to screen


Function Documentation

AFAPI af_err af_print_array ( af_array  arr)
Parameters
[in]arris the input array
Returns
error codes
AFAPI af_err af_print_array_gen ( const char *  exp,
const af_array  arr,
const int  precision 
)
Parameters
[in]expis the expression or name of the array
[in]arris the input array
[in]precisionprecision for the display
Returns
error codes
AFAPI void af::print ( const char *  exp,
const array arr 
)
Parameters
[in]expis an expression, generally the name of the array
[in]arris the input array
AFAPI void af::print ( const char *  exp,
const array arr,
const int  precision 
)
Parameters
[in]expis an expression, generally the name of the array
[in]arris the input array
[in]precisionis the precision length for display