Function linspace

Source
pub fn linspace<T>(start: T, end: T, step: T) -> List<T>
Expand description

Create a List from start to end with step. The last step can be smaller to include end.

Examples found in repository?
examples/test.rs (line 4)
3fn main() {
4    let v = tool::linspace::<f64>(0.0, 2.0, 1.0);
5
6    println!("{}", v.transpose());
7}