QR decomposition

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


Given a matrix, returns a list with two matrices: Q and R.

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