1 2 3 4 5 6 7 8 9 10 11 12
extern crate peroxide; use peroxide::fuga::*; fn main() { let a = ml_matrix("2 -1 0;4 3 -2"); #[cfg(feature="O3")] { let b = a.pseudo_inv(); assert_eq!(&a * &b, eye(2)); } a.print(); }