A high-performance general-purpose compute library

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

◆ af_print_array()

AFAPI af_err af_print_array ( af_array  arr)
Parameters
[in]arris the input array
Returns
error codes

◆ af_print_array_gen()

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

◆ print() [1/2]

AFAPI void print ( const char *  exp,
const array arr 
)
Parameters
[in]expis an expression, generally the name of the array
[in]arris the input array

◆ print() [2/2]

AFAPI void 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