Trait ndarray::NdIndex[][src]

pub unsafe trait NdIndex<E>: Debug { }

Tuple or fixed size arrays that can be used to index an array.

use ndarray::arr2;

let mut a = arr2(&[[0, 1],
                   [2, 3]]);
assert_eq!(a[[0, 1]], 1);
assert_eq!(a[[1, 1]], 3);
a[[1, 1]] += 1;
assert_eq!(a[(1, 1)], 4);

Implementations on Foreign Types

impl NdIndex<Dim<[usize; 0]>> for ()[src]

impl NdIndex<Dim<[usize; 2]>> for (Ix, Ix)[src]

impl NdIndex<Dim<[usize; 3]>> for (Ix, Ix, Ix)[src]

impl NdIndex<Dim<[usize; 4]>> for (Ix, Ix, Ix, Ix)[src]

impl NdIndex<Dim<[usize; 5]>> for (Ix, Ix, Ix, Ix, Ix)[src]

impl NdIndex<Dim<[usize; 0]>> for [Ix; 0][src]

impl NdIndex<Dim<IxDynImpl>> for [Ix; 0][src]

impl NdIndex<Dim<[usize; 1]>> for [Ix; 1][src]

impl NdIndex<Dim<IxDynImpl>> for [Ix; 1][src]

impl NdIndex<Dim<[usize; 2]>> for [Ix; 2][src]

impl NdIndex<Dim<IxDynImpl>> for [Ix; 2][src]

impl NdIndex<Dim<[usize; 3]>> for [Ix; 3][src]

impl NdIndex<Dim<IxDynImpl>> for [Ix; 3][src]

impl NdIndex<Dim<[usize; 4]>> for [Ix; 4][src]

impl NdIndex<Dim<IxDynImpl>> for [Ix; 4][src]

impl NdIndex<Dim<[usize; 5]>> for [Ix; 5][src]

impl NdIndex<Dim<IxDynImpl>> for [Ix; 5][src]

impl NdIndex<Dim<[usize; 6]>> for [Ix; 6][src]

impl NdIndex<Dim<IxDynImpl>> for [Ix; 6][src]

impl<'a> NdIndex<Dim<IxDynImpl>> for &'a [Ix][src]

Loading content...

Implementors

impl NdIndex<Dim<[usize; 1]>> for Ix[src]

impl NdIndex<Dim<IxDynImpl>> for Dim<[Ix; 0]>[src]

impl NdIndex<Dim<IxDynImpl>> for Dim<[Ix; 1]>[src]

impl NdIndex<Dim<IxDynImpl>> for Dim<[Ix; 2]>[src]

impl NdIndex<Dim<IxDynImpl>> for Dim<[Ix; 3]>[src]

impl NdIndex<Dim<IxDynImpl>> for Dim<[Ix; 4]>[src]

impl NdIndex<Dim<IxDynImpl>> for Dim<[Ix; 5]>[src]

impl NdIndex<Dim<IxDynImpl>> for Dim<[Ix; 6]>[src]

impl NdIndex<Dim<IxDynImpl>> for Ix[src]

impl<'a> NdIndex<Dim<IxDynImpl>> for &'a IxDyn[src]

impl<D> NdIndex<D> for D where
    D: Dimension
[src]

Loading content...