pub trait CsStorageIterMut<'a, T: 'a, R, C = U1> {
    type ValuesMut: Iterator<Item = &'a mut T>;
    type ColumnEntriesMut: Iterator<Item = (usize, &'a mut T)>;

    fn values_mut(&'a mut self) -> Self::ValuesMut;
    fn column_entries_mut(&'a mut self, j: usize) -> Self::ColumnEntriesMut;
}
Expand description

Trait for mutably iterable compressed-column sparse matrix storage.

Required Associated Types

Mutable iterator through all the values of the sparse matrix.

Mutable iterator through all the rows of a specific columns.

The elements are given as a tuple (row_index, value).

Required Methods

A mutable iterator through the values buffer of the sparse matrix.

Iterates mutably through all the entries of the j-th column.

Implementors