QR Function

Functionality for QR Factorization


Description

The Function \(QR\) contains the QR factorization functionality of a modified Gram-Schmidt orthogonalization.

Every real quadratic matrix \(A\) can be decomposed as \(A = QR\).

\(Q\) is an orthogonal \(m * n \) matrix and \(R \) is the upper triangular matrix \(n * n \)

\(QR\) is implemented as a RedCrab class. The result is an object of class \(QR\)


Syntax

QR (Matrix)

QR (Format, Matrix)

Elements of class QR

M

Q

R

Factorizable matrix

Orthogonal \(m * n \) matrix

Upper triangular matrix

Example

Zugriff auf Element \(Q\) per Formatstring: