|
RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
|
Householder algorithm for the QR-decomposition. More...
Go to the source code of this file.
Functions | |
| int8_t | qr_householder_decomp (uint8_t m, uint8_t n, matrix_t A[][n], uint8_t q_col_num, matrix_t Q[][q_col_num], bool reduced) |
| Computes the QR decomposition of the matrix A by using the Householder algorithm. More... | |
Householder algorithm for the QR-decomposition.
Provide necessary methods to construct Q- and R- matrices using Householder reflections. A = QR, where Q is an (m
n)-matrix with orthonormal columns and R is an (n
n) upper triangular matrix.
Definition in file qr_householder.c.
| int8_t qr_householder_decomp | ( | uint8_t | m, |
| uint8_t | n, | ||
| matrix_t | A[][n], | ||
| uint8_t | q_col_num, | ||
| matrix_t | Q[][q_col_num], | ||
| bool | reduced | ||
| ) |
Computes the QR decomposition of the matrix A by using the Householder algorithm.
| [in] | m | row number of the matrix to decompose in QR. |
| [in] | n | column number of the matrix to decompose in QR. |
| [in,out] | A[][] | pointer to the matrices A and R. |
| [in] | q_col_num | column number of the matrix Q. |
| [in,out] | Q[][] | pointer to the matrix Q. |
| [in] | reduced | computes the compact form of the QR decomposition if true, otherwise the full version. |
Definition at line 33 of file qr_householder.c.
References matrix_t, and utils_get_save_square_root().
Referenced by householder_test(), and solve_householder().