1 2 3 4 5 6 7 8 9 10 11 12 13
use crate::mat::Mat; #[test] fn test_matrix() { let mut a = Mat::<f64>::identity(6, true); let mut b = Mat::<f64>::identity(6, true); a /= 2.0; b *= 3.0; // println!("{}", a * b); a *= b; // println!("{}", -a - 3.0); }