# rref_matlab

compas.numerical.rref_matlab(A, ifile, ofile, tol=None)[source]

Reduced row-echelon form of matrix A.

Parameters
• A (array-like) – Matrix A represented as an array or list.

• tol (float) – Tolerance.

Returns

array – RREF of A.

Notes

A matrix is in reduced row-echelon form after Gauss-Jordan elimination, the result is independent of the method/algorithm used.

Examples

>>>