pub trait IndexAxis<I: IndexAxisTrait>: ToViewMatrix
where Self::Dim: LessDimTrait,
{ type Output<'a>: MatrixBase<Dim = <Self::Dim as LessDimTrait>::LessDim, Item = Self::Item> + ViewMatrix where Self: 'a; // Required method fn index_axis(&self, index: I) -> Self::Output<'_>; }

Required Associated Types§

source

type Output<'a>: MatrixBase<Dim = <Self::Dim as LessDimTrait>::LessDim, Item = Self::Item> + ViewMatrix where Self: 'a

Required Methods§

source

fn index_axis(&self, index: I) -> Self::Output<'_>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<I: IndexAxisTrait, M: ToViewMemory, D: DimTrait + LessDimTrait> IndexAxis<I> for Matrix<M, D>
where <D as LessDimTrait>::LessDim: DimTrait,

§

type Output<'a> = Matrix<ViewMem<'a, <M as Memory>::Item>, <D as LessDimTrait>::LessDim> where Self: 'a