lumatrix: LU Decomposition

Description Usage Arguments Details Value See Also Examples

View source: R/lumatrix.R

Description

Decompose a matrix into lower- and upper-triangular matrices

Usage

1

Arguments

m

a matrix

Details

lumatrix decomposes the matrix m into the LU decomposition, such that m == L

Value

list with matrices L and U representing the LU decomposition

See Also

Other linear: choleskymatrix(), detmatrix(), gdls(), invmatrix(), iterativematrix, refmatrix(), rowops, tridiagmatrix(), vecnorm()

Examples

1
2
A <- matrix(c(1, 2, -7, -1, -1, 1, 2, 1, 5), 3)
lumatrix(A)

cmna documentation built on July 14, 2021, 5:11 p.m.