expand
Expand a (Matrix) Decomposition into FactorsExpands decompositions stored in compact form into factors.
expand(x, ...)
x | a matrix decomposition. |
... | further arguments passed to or from other methods. |
This is a generic function with special methods for different types of decompositions, see showMethods(expand)
to list them all.
The expanded decomposition, typically a list of matrix factors.
Factors for decompositions such as lu
and qr
can be stored in a compact form. The function expand
allows all factors to be fully expanded.
The LU lu
, and the Cholesky
decompositions which have expand
methods; facmul
.
(x <- Matrix(round(rnorm(9),2), 3, 3)) (ex <- expand(lux <- lu(x)))
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.