Learn R Programming

Matrix (version 0.999375-42)

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, typically a list of matrix factors.

Details

This is a generic function with special methods for different types of decompositions, see showMethods(expand) to list them all.

See Also

The LU decomposition lu, for which there is an expand method; facmul.

Examples

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

Run the code above in your browser using DataLab