-
aoclsparse_status aoclsparse_destroy(aoclsparse_matrix *mat)#
Destroy a sparse matrix structure.
aoclsparse_destroydestroys a structure that holds matrixmat.- Parameters:
mat – [in] the pointer to the sparse matrix.
- Return values:
aoclsparse_status_success – the operation completed successfully.
aoclsparse_status_invalid_pointer –
matrixstructure pointer is invalid.