Mon Feb 24 07:57:58 2020 refmatrix_test R version 3.4.4 (2018-03-15) refmatrix(A) computes the row echelon form (REF) of a matrix. The matrix A: [,1] [,2] [,3] [1,] 5 8 6 [2,] 5 2 5 [3,] 5 2 4 The REF of A: [,1] [,2] [,3] [1,] 5 8 6 [2,] 0 -6 -1 [3,] 0 0 -1 The matrix B: [,1] [,2] [,3] [,4] [1,] 2 4 3 7 [2,] 4 9 6 3 [3,] 2 4 7 9 The REF of B: [,1] [,2] [,3] [,4] [1,] 2 4 3 7 [2,] 0 1 0 -11 [3,] 0 0 4 2 The matrix C: [,1] [,2] [,3] [1,] 2 5 3 [2,] 8 1 8 [3,] 5 2 4 The REF of C: [,1] [,2] [,3] [1,] 2 5.000000e+00 3.000000 [2,] 0 -1.900000e+01 -4.000000 [3,] 0 1.776357e-15 -1.289474 refmatrix_test Normal end of execution. Mon Feb 24 07:57:58 2020