A high-performance general-purpose compute library

Returns reference to the values component of the sparse array. More...

Functions

array sparseGetValues (const array in)
 
af_err af_sparse_get_values (af_array *out, const af_array in)
 

Detailed Description

Returns reference to the values component of the sparse array.

Values is the array containing the non-zero elements of the dense matrix.


Function Documentation

◆ af_sparse_get_values()

af_err af_sparse_get_values ( af_array * out,
const af_array in )
Parameters
[out]outaf_array for the non-zero elements component of the sparse array
[in]inis the input sparse matrix
Returns
AF_SUCCESS if the execution completes properly

◆ sparseGetValues()

array sparseGetValues ( const array in)
Parameters
[in]inis the input sparse matrix
Returns
array for the non-zero elements component of the sparse array