Skip to main content

linspace

Function linspace 

Source
pub fn linspace(start: f64, stop: f64, n: usize) -> Vec<f64>
Expand description

Generate n equally-spaced values from start to stop (inclusive).

Equivalent to numpy.linspace(start, stop, num=n).