lu(x, ...)
"LU"
, see LU
; this is
a representation of a triangular decomposition of x
.methods("lu")
to list all the methods
for the lu
generic. The method for class
is based on
LAPACK's "dgetrf"
subroutine.
Currently, there is no method for sparse matrices, but for sparse
positive-definite ones, chol
is available.
LU
and function expand
;
qr
, chol
.x <- Matrix(rnorm(9), 3, 3)
lu(x)
Run the code above in your browser using DataLab