pub trait ViewRowAscend: IndicesAndCoefficients {
type ViewMajorAscend: IntoIterator<IntoIter = Self::ViewMajorAscendIntoIter, Item = Self::EntryMajor>;
type ViewMajorAscendIntoIter: Iterator<Item = Self::EntryMajor>;
// Required method
fn view_major_ascend(&self, index: Self::RowIndex) -> Self::ViewMajorAscend;
// Provided method
fn views_major_ascend<J>(
self,
indices: J,
) -> ViewsMajorAscend<Self, J::IntoIter> ⓘ
where J: IntoIterator,
J::IntoIter: Iterator<Item = Self::RowIndex>,
Self: Sized { ... }
}
Expand description
Entries appear in strictly ascending order, according to index.
Consecutive entries must have distinct indices.
Required Associated Types§
type ViewMajorAscend: IntoIterator<IntoIter = Self::ViewMajorAscendIntoIter, Item = Self::EntryMajor>
type ViewMajorAscendIntoIter: Iterator<Item = Self::EntryMajor>
Required Methods§
Sourcefn view_major_ascend(&self, index: Self::RowIndex) -> Self::ViewMajorAscend
fn view_major_ascend(&self, index: Self::RowIndex) -> Self::ViewMajorAscend
Get a major view with entries sorted in ascending order of index.
Provided Methods§
Sourcefn views_major_ascend<J>(
self,
indices: J,
) -> ViewsMajorAscend<Self, J::IntoIter> ⓘ
fn views_major_ascend<J>( self, indices: J, ) -> ViewsMajorAscend<Self, J::IntoIter> ⓘ
Get an iterator of major views