Function ndarray::indices_of
source · pub fn indices_of<S, D>(array: &ArrayBase<S, D>) -> Indices<D>where
S: Data,
D: Dimension,
Expand description
Return an iterable of the indices of the passed-in array.
Note: prefer higher order methods, arithmetic operations and non-indexed iteration before using indices.