[][src]Trait oxygengine_physics_2d::prelude::nalgebra::sparse::CsStorageIter

pub trait CsStorageIter<'a, N, R, C = U1> where
    <Self::ColumnEntries as Iterator>::Item == (usize, N),
    <Self::ColumnRowIndices as Iterator>::Item == usize
{ type ColumnEntries: Iterator; type ColumnRowIndices: Iterator; fn column_row_indices(&'a self, j: usize) -> Self::ColumnRowIndices;
fn column_entries(&'a self, j: usize) -> Self::ColumnEntries; }

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.

Loading content...

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.

Loading content...

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]

type ColumnEntries = ColumnEntries<'a, N>

type ColumnRowIndices = Cloned<Iter<'a, usize>>

Loading content...