expand {Matrix}R Documentation

Expand a Decomposition into Factors

Description

Expands decompositions stored in compact form into factors.

Usage

expand(x, ...)

Arguments

x a matrix decomposition.
... further arguments passed to or from other methods.

Details

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.

Value

the expanded decomposition.

NOTE

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.

See Also

facmul.

Examples

library(Matrix)
x <- Matrix( 1:9, 3, 3)
## Not run: 
expand(qr(x))
## End(Not run)

[Package Matrix version 0.8-21 Index]