expand {Matrix} | R Documentation |
Expands 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.
Use methods("expand")
to list all the methods for the
expand
generic.
the expanded decomposition.
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.
library(Matrix) x <- Matrix( 1:9, 3, 3) ## Not run: expand(qr(x)) ## End(Not run)