Returns reference to components of the input sparse array. More...
Functions | |
| AFAPI void | sparseGetInfo (array &values, array &rowIdx, array &colIdx, af::storage &stype, const array in) |
| AFAPI af_err | af_sparse_get_info (af_array *values, af_array *rowIdx, af_array *colIdx, af_storage *stype, const af_array in) |
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
| AFAPI af_err af_sparse_get_info | ( | af_array * | values, |
| af_array * | rowIdx, | ||
| af_array * | colIdx, | ||
| af_storage * | stype, | ||
| const af_array | in ) |
| [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 |
| AFAPI void sparseGetInfo | ( | array & | values, |
| array & | rowIdx, | ||
| array & | colIdx, | ||
| af::storage & | stype, | ||
| const array | in ) |
| [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 |