Talk:Reduced row echelon form: Difference between revisions

Content added Content deleted
Line 219: Line 219:
</lang>
</lang>
Now it works. All the other examples are also solved correctly. I have to admit that I changed the code so I am not sure if this error also occurs in the original version.
Now it works. All the other examples are also solved correctly. I have to admit that I changed the code so I am not sure if this error also occurs in the original version.

Edit: The new code is also not working, for instance matrix
<pre>
0, 0
1, 1
-1, 0
0,-1
0, 0
0, 0
0, 0
0, 0
1, 1
</pre>
results in
<pre>
1, 1
0, 0
0, 1
0,-1
0, 0
0, 0
0, 0
0, 0
0, 0
</pre>
In contrast, the code from http://ic.ucsc.edu/~ptantalo/math21/Winter07/GaussJordan.java works fine even though it does not implement the pivot stuff. Moreover, this code is understandable since it is not using crap functions like "break" and "continue" in loops which make code unreadable and error prone.