Algosim documentation: IsRowEchelonForm

IsRowEchelonForm

Tests if a matrix is in row echelon form.

Syntax

Description

If A is a matrix, then IsRowEchelonForm(A, ε) returns true iff A is in row echelon form:

Examples

A ≔ ❨❨5, 1, 2, 3, 4❩, ❨0, 0, 2, 1, 2❩, ❨0, 0, 0, 5, 1❩, ❨0, 0, 0, 0, 0❩❩
⎛5  1  2  3  4⎞
⎜0  0  2  1  2⎟
⎜0  0  0  5  1⎟
⎝0  0  0  0  0⎠
IsRowEchelonForm(A)
true

See also