Function extendr_api::prelude::indices

source ยท
pub fn indices<E>(shape: E) -> Indices<<E as IntoDimension>::Dim>
where E: IntoDimension,
Expand description

Create an iterable of the array shape shape.

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