lu: (Generalized) Triangular Decomposition of a Matrix
Description
Computes (generalized) triangular decompositions of square and other
dense matrices using the MAGMA GPU library or the PLASMA library for multi-core CPUs.
Usage
lu(x, ...)
"lu"(x, warnSing = TRUE, ...)
Arguments
x
a dense matrix. No missing values or IEEE special values are allowed.
warnSing
(when x is a
denseMatrix logical specifying if a warning
should be signalled when x is singular.
...
further arguments passed to or from other methods.
Details
lu() is a generic function with special methods for different types
of matrices. Use showMethods("lu") to list all the methods
for the lu generic.
The method for class dgeMatrix (and all dense
matrices) is based on the MAGMA "magma_dgetrf" subroutine and PLASMA
"PLASMA_dgetrf". It returns
a decomposition also for singular and non-square matrices. For further
details on classes etc. see the Matrix package documentation.