Function ha_ndarray::strides_for

source ·
pub fn strides_for<'a>(
    shape: &'a [usize],
    ndim: usize
) -> impl Iterator<Item = usize> + 'a
Expand description

Construct an iterator over the strides for the given shape and number of dimensions.