Fast Reduced Row Echelon Form
For full matrices, the algorithm is based on the vectorization of MATLAB's RREF function. A typical speed-up range is about 2-4 times of the MATLAB's RREF function. However, the actual speed-up depends on the size of A. The speed-up is quite considerable if the number of columns in A is considerably larger than the number of its rows or when A is not dense.
For sparse matrices, the algorithm ignores the tol value and uses sparse QR to compute the rref form, improving the speed by a few orders of magnitude.
Authors: Armin Ataei, Ashish Myles
Cite As
Armin Ataei (2024). Fast Reduced Row Echelon Form (https://www.mathworks.com/matlabcentral/fileexchange/21583-fast-reduced-row-echelon-form), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.3.0.0 | Support for sparse matrices was added, which improves the speed-up by a couple orders of magnitude compared to the previous version of frref. |
||
1.2.0.0 | Added support for sparse matrices, which improves the speed-up a few orders of magnitude compared to the previous version of frref. |
||
1.0.0.0 | Screenshot was resized. |