Learn R Programming

Matrix (version 0.9-1)

expand: 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.

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.

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.

See Also

facmul.

Examples

Run this code
library(Matrix)
x <- Matrix( 1:9, 3, 3)
expand(qr(x))

Run the code above in your browser using DataLab