ArrayFire: sparseGetValues

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

Returns reference to the values component of the sparse array.

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


◆ af_sparse_get_values()

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
Parameters
[in]inis the input sparse matrix
Returns
af::array for the non-zero elements component of the sparse array