Function graphblas_sparse_linear_algebra::collections::sparse_vector::operations::resize_sparse_vector
source · pub fn resize_sparse_vector(
vector: &mut impl GetGraphblasSparseVector,
new_length: ElementIndex
) -> Result<(), SparseLinearAlgebraError>
Expand description
All elements of self with an index coordinate outside of the new size are dropped.