Skip to main content

iota

Function iota 

Source
pub fn iota<T: Element>(shape: &[usize], dim: usize) -> Vec<T>
Expand description

iota: the index along dim of each element of shape.