[][src]Trait nalgebra::base::indexing::MatrixIndex

pub trait MatrixIndex<'a, N: Scalar, R: Dim, C: Dim, S: Storage<N, R, C>>: Sized {
    type Output: 'a;
}

A helper trait used for indexing operations.

Associated Types

type Output: 'a

The output type returned by methods.

Loading content...

Implementations on Foreign Types

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for usize where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = &'a N

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (usize, usize) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = &'a N

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (usize, Range<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, U1, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (usize, RangeFrom<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, U1, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (usize, RangeFull) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, U1, C, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (usize, RangeInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, U1, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (usize, RangeTo<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, U1, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (usize, RangeToInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, U1, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, J: DimName> MatrixIndex<'a, N, R, C, S> for (usize, RangeFrom<J>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    C: DimSub<J>, 
[src]

type Output = MatrixSlice<'a, N, U1, DimDiff<C, J>, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (Range<usize>, usize) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, U1, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (Range<usize>, Range<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (Range<usize>, RangeFrom<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (Range<usize>, RangeFull) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, C, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (Range<usize>, RangeInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (Range<usize>, RangeTo<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (Range<usize>, RangeToInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, J: DimName> MatrixIndex<'a, N, R, C, S> for (Range<usize>, RangeFrom<J>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    C: DimSub<J>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, DimDiff<C, J>, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFrom<usize>, usize) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, U1, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFrom<usize>, Range<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFrom<usize>, RangeFrom<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFrom<usize>, RangeFull) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, C, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFrom<usize>, RangeInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFrom<usize>, RangeTo<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFrom<usize>, RangeToInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, J: DimName> MatrixIndex<'a, N, R, C, S> for (RangeFrom<usize>, RangeFrom<J>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    C: DimSub<J>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, DimDiff<C, J>, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFull, usize) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, R, U1, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFull, Range<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, R, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFull, RangeFrom<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, R, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFull, RangeFull) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, R, C, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFull, RangeInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, R, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFull, RangeTo<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, R, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeFull, RangeToInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, R, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, J: DimName> MatrixIndex<'a, N, R, C, S> for (RangeFull, RangeFrom<J>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    C: DimSub<J>, 
[src]

type Output = MatrixSlice<'a, N, R, DimDiff<C, J>, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeInclusive<usize>, usize) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, U1, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeInclusive<usize>, Range<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeInclusive<usize>, RangeFrom<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeInclusive<usize>, RangeFull) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, C, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeInclusive<usize>, RangeInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeInclusive<usize>, RangeTo<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeInclusive<usize>, RangeToInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, J: DimName> MatrixIndex<'a, N, R, C, S> for (RangeInclusive<usize>, RangeFrom<J>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    C: DimSub<J>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, DimDiff<C, J>, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeTo<usize>, usize) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, U1, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeTo<usize>, Range<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeTo<usize>, RangeFrom<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeTo<usize>, RangeFull) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, C, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeTo<usize>, RangeInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeTo<usize>, RangeTo<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeTo<usize>, RangeToInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, J: DimName> MatrixIndex<'a, N, R, C, S> for (RangeTo<usize>, RangeFrom<J>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    C: DimSub<J>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, DimDiff<C, J>, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeToInclusive<usize>, usize) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, U1, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeToInclusive<usize>, Range<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeToInclusive<usize>, RangeFrom<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeToInclusive<usize>, RangeFull) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, C, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeToInclusive<usize>, RangeInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeToInclusive<usize>, RangeTo<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S> MatrixIndex<'a, N, R, C, S> for (RangeToInclusive<usize>, RangeToInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, J: DimName> MatrixIndex<'a, N, R, C, S> for (RangeToInclusive<usize>, RangeFrom<J>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    C: DimSub<J>, 
[src]

type Output = MatrixSlice<'a, N, Dynamic, DimDiff<C, J>, S::RStride, S::CStride>

impl<'a, N, R, C, S, I: Dim> MatrixIndex<'a, N, R, C, S> for (RangeFrom<I>, usize) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    R: DimSub<I>, 
[src]

type Output = MatrixSlice<'a, N, DimDiff<R, I>, U1, S::RStride, S::CStride>

impl<'a, N, R, C, S, I: Dim> MatrixIndex<'a, N, R, C, S> for (RangeFrom<I>, Range<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    R: DimSub<I>, 
[src]

type Output = MatrixSlice<'a, N, DimDiff<R, I>, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, I: Dim> MatrixIndex<'a, N, R, C, S> for (RangeFrom<I>, RangeFrom<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    R: DimSub<I>, 
[src]

type Output = MatrixSlice<'a, N, DimDiff<R, I>, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, I: Dim> MatrixIndex<'a, N, R, C, S> for (RangeFrom<I>, RangeFull) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    R: DimSub<I>, 
[src]

type Output = MatrixSlice<'a, N, DimDiff<R, I>, C, S::RStride, S::CStride>

impl<'a, N, R, C, S, I: Dim> MatrixIndex<'a, N, R, C, S> for (RangeFrom<I>, RangeInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    R: DimSub<I>, 
[src]

type Output = MatrixSlice<'a, N, DimDiff<R, I>, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, I: Dim> MatrixIndex<'a, N, R, C, S> for (RangeFrom<I>, RangeTo<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    R: DimSub<I>, 
[src]

type Output = MatrixSlice<'a, N, DimDiff<R, I>, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, I: Dim> MatrixIndex<'a, N, R, C, S> for (RangeFrom<I>, RangeToInclusive<usize>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    R: DimSub<I>, 
[src]

type Output = MatrixSlice<'a, N, DimDiff<R, I>, Dynamic, S::RStride, S::CStride>

impl<'a, N, R, C, S, I: Dim, J: DimName> MatrixIndex<'a, N, R, C, S> for (RangeFrom<I>, RangeFrom<J>) where
    N: Scalar,
    R: Dim,
    C: Dim,
    S: Storage<N, R, C>,
    R: DimSub<I>,
    C: DimSub<J>, 
[src]

type Output = MatrixSlice<'a, N, DimDiff<R, I>, DimDiff<C, J>, S::RStride, S::CStride>

Loading content...

Implementors

Loading content...