pub fn seq<S, T, U>(start: S, end: T, step: U) -> Vec<f64>
Expand description
R like seq function
§Example
use peroxide::fuga::*;
let a = seq(1, 10, 2);
assert_eq!(a, vec![1f64,3f64,5f64,7f64,9f64]);
let b = seq(1, 1, 1);
assert_eq!(b, vec![1f64]);