mathru
macro_rules! vector { ($( $x: expr ),*) => { ... }; ($( $x: expr );*) => { ... }; }
Macro to construct vectors
#[macro_use] extern crate mathru; fn main() { use mathru::algebra::linear::Vector; // Construct a 2x3 matrix of f32 let mat: Vector<f64> = vector![1.0; 2.0; 3.0]; }