pub fn matrix<T>(v: Vec<T>, x: usize, y: usize, shape: Shape) -> Matrixwhere T: Into<f64>,
R-like matrix constructor
extern crate peroxide; use peroxide::*; let a = matrix(c!(1,2,3,4), 2, 2, Row);