pub fn linspace<T>(start: T, stop: T, n: usize) -> Vec<T>where T: Float,
Generates evenly spaced values from start to stop, including the endpoint.