Code covered by the BSD License
23 Oct 2003
30 Aug 2010)
Same functionality as the MATLAB rref function, but quicker.
Watch this File
A = rand(200);
R1 = rref(A);
Elapsed time is 1.435837 seconds.
R2 = mex_rref(A);
Elapsed time is 0.012729 seconds.
max(max(abs(R1 - R2))): 0
Speed-up factor: 113
Added a demo script and an auto-compile script. Also added proper support for tolerance parameter.