Function concision_core::utils::rangespace

source ยท
pub fn rangespace<A, D>(dim: impl IntoDimension<Dim = D>) -> Array<A, D>
where A: FromPrimitive, D: Dimension,
Expand description

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