[−][src]Trait oxygengine_physics_2d::prelude::nalgebra::sparse::CsStorageIter
Trait for iterable compressed-column matrix storage.
Associated Types
type ColumnEntries: Iterator
Iterator through all the rows of a specific columns.
The elements are given as a tuple (row_index, value).
type ColumnRowIndices: Iterator
Iterator through the row indices of a specific column.
Required methods
fn column_row_indices(&'a self, j: usize) -> Self::ColumnRowIndices
Iterates through all the row indices of the j-th column.
fn column_entries(&'a self, j: usize) -> Self::ColumnEntries
Iterates through all the entries of the j-th column.
Implementors
impl<'a, N, R, C> CsStorageIter<'a, N, R, C> for CsVecStorage<N, R, C> where
C: Dim,
N: Scalar,
R: Dim,
DefaultAllocator: Allocator<usize, C, U1>,
[src]
C: Dim,
N: Scalar,
R: Dim,
DefaultAllocator: Allocator<usize, C, U1>,
type ColumnEntries = ColumnEntries<'a, N>
type ColumnRowIndices = Cloned<Iter<'a, usize>>
fn column_entries(
&'a self,
j: usize
) -> <CsVecStorage<N, R, C> as CsStorageIter<'a, N, R, C>>::ColumnEntries
[src]
&'a self,
j: usize
) -> <CsVecStorage<N, R, C> as CsStorageIter<'a, N, R, C>>::ColumnEntries
fn column_row_indices(
&'a self,
j: usize
) -> <CsVecStorage<N, R, C> as CsStorageIter<'a, N, R, C>>::ColumnRowIndices
[src]
&'a self,
j: usize
) -> <CsVecStorage<N, R, C> as CsStorageIter<'a, N, R, C>>::ColumnRowIndices