Learn R Programming

editrules (version 2.7.2)

echelon: Bring an (edit) matrix to reduced row echelon form.

Description

If E is a matrix, a matrix in reduced row echelon form is returned. If E is an editmatrix the equality part of E is transformed to reduced row echelon form. For an editset, the numerical part is transformed to reduced row echelon form.

Usage

echelon(E, ...)

  ## S3 method for class 'editmatrix':
echelon(E, ...)

  ## S3 method for class 'matrix':
echelon(E,
    tol = sqrt(.Machine$double.eps), ...)

  ## S3 method for class 'editset':
echelon(E, ...)

Arguments

E
a matrix or editmatrix
...
options to pass on to further methods.
tol
tolerance that will be used to determine if a coefficient equals zero.

See Also

eliminate, substValue