Learn R Programming

TensorTools (version 1.0.0)

QR: QR Decomposition of a Complex Matrix without pivoting.

Description

Decomposes a complex matrix into the product of an upper triangular matrix and a lower triangular matrix.

Usage

QR(A)

Value

an orthogonal matrix Q and an upper triangular matrix R so that A = QR.

Arguments

A

square matrix with complex entries

Author

Kyle Caudle

Randy Hoover

Jackson Cates

Everett Sandbo

References

Stewart, G. W. (1998). Matrix algorithms: volume 1: basic decompositions. Society for Industrial and Applied Mathematics.

Examples

Run this code
z <- complex(real = rnorm(16), imag = rnorm(16))
A <- matrix(z,nrow=4)
QR(A)

Run the code above in your browser using DataLab