Skip to Content

expand {Matrix}

Expand a Decomposition into Factors
Package: 
Matrix
Version: 
1.2-6

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, see showMethods(expand) to list them all.

Values

The expanded decomposition, typically a list of matrix factors.

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

The LU lu, and the Cholesky decompositions which have expand methods; facmul.

Examples

(x <- Matrix(round(rnorm(9),2), 3, 3))
(ex <- expand(lux <- lu(x)))

Documentation reproduced from package Matrix, version 1.2-6. License: GPL (>= 2) | file LICENCE