echelon ( matrix -- matrix' ) (original) (raw)

echelon ( matrix -- matrix' )

Vocabulary
math.matrices.elimination

Inputs

matrix a sequence

Outputs

matrix' a sequence

Word description
Computes the reduced row-echelon form of the matrix.

Definition

IN: math.matrices.elimination

: echelon ( matrix -- matrix' ) [ 0 0 (echelon) ] with-matrix ;