macro_rules! linspace { ( $start:expr, $end:expr, $length: expr) => { ... }; }
Expand description
MATLAB like linspace
§Examples
#[macro_use]
extern crate peroxide;
use peroxide::fuga::*;
fn main() {
let a = linspace!(1, 10, 10);
assert_eq!(a, seq!(1,10,1));
}