Algosim documentation: ReducedRowEchelonForm

ReducedRowEchelonForm

Transforms a matrix to reduced row echelon form using elementary row operations.

Syntax

Description

If A is a matrix, then ReducedRowEchelonForm(A) returns A transformed into reduced row echelon form using elementary row operations.

Examples

A ≔ ❨❨5, 1, 2, 3, 4❩, ❨4, 0, 2, 1, 7❩, ❨6, 3, 0, 4, 7❩, ❨4, 5, 2, 3, 9❩, ❨4, 0, 1, 2, 5❩❩
⎛5  1  2  3  4⎞
⎜4  0  2  1  7⎟
⎜6  3  0  4  7⎟
⎜4  5  2  3  9⎟
⎝4  0  1  2  5⎠
ReducedRowEchelonForm(A)
⎛1  0  0  0  0⎞
⎜0  1  0  0  0⎟
⎜0  0  1  0  0⎟
⎜0  0  0  1  0⎟
⎝0  0  0  0  1⎠

See also