Skip to main content

linspace

Function linspace 

Source
pub fn linspace<T>(start: T, stop: T, num_points: usize) -> Vec<T>
where T: Float,
Expand description

Create a set of values in a given range, with a given number of values. Similar to numpy.linspace. The result terminates one step before the end of the range.