pub fn rref(a: &mut Matrix)Expand description
Row reduces the target matrix a.
ยงExamples
use matrix_mc::{matrix, rref};
let mut matrix = matrix![
1, 2, 3;
4, 5, 6;
7, 8, 9
];
let result = matrix![
1, 0, -1;
0, 1, 2;
0, 0, 0
];
rref(&mut matrix);
assert_eq!(matrix, result);