Learn R Programming

SolveRationalMatrixEquation (version 0.1.0)

QRdecompose: QR Decomposition

Description

Decompose a matrix into an orthogonal matrix Q and Upper triangular matrix R

Usage

QRdecompose(mat)

Arguments

mat

a matrix of real numbers

Value

list containing Q and R matrices

Examples

Run this code
# NOT RUN {
QRdecompose(rbind(c(2,-2,18),c(2,1,0),c(1,2,0)))
# }

Run the code above in your browser using DataLab