Skip to content

rref

linear-algebra · scripts/linear-algebra/rref.m

: r = rref (A)
: [r, jb] = rref (A, tol)

Reduced row echelon form of A by Gauss-Jordan elimination with partial pivoting.

jb lists the pivot columns. Columns whose largest remaining entry does not exceed tol are treated as zero; the default is eps * max (size (A)) * norm (A, Inf).