Function ndarray::indices [] [src]

pub fn indices<E>(shape: E) -> Indices<E::Dim> where E: IntoDimension

Create an iterator over the array shape shape.

Note: prefer higher order methods, arithmetic operations and non-indexed iteration before using indices.