rref: Reduced Row Echelon Form of a matrix

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/found_functions.R

Description

Function calculates the Reduced Row Echelon Form of a matrix.

Usage

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

Arguments

A

Matrix to be turned into Gaussian Form.

tol

Tolerance for checking for 0 pivot.

verbose

If TRUE, print intermediate steps.

fractions

If true, try to express nonintegers as rational numbers.

Value

A matrix

Author(s)

John Fox

References

http://socserv.mcmaster.ca/jfox/Courses/R-course-Berkeley/

See Also

GaussianElimination

Examples

1
2
test_mat <- matrix(c(2,4,4, -6,6,12, 10,-4,-16), nrow=3, ncol=3, byrow=TRUE)
rref(test_mat)

ansgarwenzel/quhomology documentation built on May 22, 2019, 11:51 p.m.