Function concision_core::rangespace

source ·
pub fn rangespace<T, D>(dim: impl IntoDimension<Dim = D>) -> Array<T, D>
where D: Dimension, T: Num + NumCast,
Expand description

creates a matrix from the given shape filled with numerical elements [0, n) spaced evenly by 1