pub fn qr_decomp(matrix: &mut Array) -> Result<Map, Box<EvalAltResult>>
Calculates the QR decomposition of a matrix
let matrix = eye(5); let qr_results = qr(matrix); assert_eq(qr_results, #{"q": eye(5), "r": eye(5)});