QR decomposition

A QR decomposition of a matrix is a decomposition of a matrix A into a product A=QR of an orthogonal matrix Q and an upper triangular matrix R.

Syntax

qr_decomposition(Matrix)

Description

Given a matrix, returns a list with two matrices: QLaTeXQ and RLaTeXR.

linear_algebra.qr_decomposition.calc.png

Options

Below is a complete list of options that may be used in the qr_decomposition function.

Option

Description

Format

Default value

matrix_form

We can perform an special algorithm if the matrix is a Hessenberg matrix.

{matrix_form="hessenberg"}

general