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] | out | af_array for the non-zero elements component of the sparse array |
[in] | in | is the input sparse matrix |
- Returns
- AF_SUCCESS if the execution completes properly
◆ sparseGetValues()
- Parameters
-
[in] | in | is the input sparse matrix |
- Returns
- af::array for the non-zero elements component of the sparse array
- Examples:
- benchmarks/cg.cpp.