Function cerebral::nd_tools::ndindex::ndindex

source ·
pub fn ndindex<Sh>(shape: Sh) -> NdIndexIterator<Sh::Dim> where
    Sh: ShapeBuilder,
Expand description

Creates an iterator that generates indices for an array of given shape