Learn R Programming

dMod (version 0.3.1)

rref: Transform matrix A into reduced row echelon form this function is written along the lines of the rref-matlab function.

Description

Transform matrix A into reduced row echelon form this function is written along the lines of the rref-matlab function.

Usage

rref(A, tol = sqrt(.Machine$double.eps), verbose = FALSE, fractions = FALSE)

Arguments

A
matrix for which the reduced row echelon form is searched
tol
tolerance to find pivots
verbose
logical, print verbose information
fractions
logical, not used right now.

Value

a list of two entries is returned; ret[[1]] is the reduced row echelon form of A, ret[[2]] is the index of columns in which a pivot was found