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