Function graphblas_sparse_linear_algebra::collections::sparse_matrix::operations::resize_sparse_matrix
source · pub fn resize_sparse_matrix(
matrix: &mut impl GetGraphblasSparseMatrix,
new_size: &Size
) -> Result<(), SparseLinearAlgebraError>
Expand description
All elements of self with an index coordinate outside of the new size are dropped.