Returns reference to components of the input sparse array
Returns reference to values, row indices, column indices and storage format of an input sparse array
◆ af_sparse_get_info()
- Parameters
-
[out] | values | stores the non-zero elements component of the sparse array |
[out] | rowIdx | stores the row indices component of the sparse array |
[out] | colIdx | stores the column indices component of the sparse array |
[out] | stype | stores the storage type of the sparse array |
[in] | in | is the input sparse matrix |
- Returns
- AF_SUCCESS if the execution completes properly
◆ sparseGetInfo()
- Parameters
-
[out] | values | stores the non-zero elements component of the sparse array |
[out] | rowIdx | stores the row indices component of the sparse array |
[out] | colIdx | stores the column indices component of the sparse array |
[out] | stype | stores the storage type of the sparse array |
[in] | in | is the input sparse matrix |