powered by
lu(x, ...)
"LU"
LU
x
methods("lu")
lu
The method for class dgeMatrix is based on LAPACK's "dgetrf" subroutine.
dgeMatrix
"dgetrf"
Currently, there is no method for sparse matrices, but for sparse positive-definite ones, chol is available.
chol
expand
qr
x <- Matrix(rnorm(9), 3, 3) lu(x)
Run the code above in your browser using DataLab