You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed the issue. Combination of bad test coverage of bad default value for number of columns. Thanks for pointing out the problem. I'm surprised this went unnoticed for so long!
The following code does not yield reduced row echelon form.
DMatrixRMaj matrix = new DMatrixRMaj(2, 3, true, new double[]{0,2,2,0,0,2});
System.out.println(CommonOps_DDRM.rref(matrix, -1, null));
Prints:
Type = DDRM , rows = 2 , cols = 3
0.0000E+00 1.0000E+00 1.0000E+00
0.0000E+00 0.0000E+00 2.0000E+00
but the first non zero element on each row should be 1.
The text was updated successfully, but these errors were encountered: