|
RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
|
QR decomposition algorithms to compute the pseudo-inverse of a matrix. More...
Go to the source code of this file.
Functions | |
| int8_t | qr_get_pinv (uint8_t m, uint8_t n, matrix_t A[m][n], matrix_t pinv_A[n][m], enum QR_ALGORITHM algo) |
| Calculate the pseudo inverse of a rectangular matrix using the QR decomposition. More... | |
QR decomposition algorithms to compute the pseudo-inverse of a matrix.
The computation of the pseudo-inverse is implemented using the Householder or the Givens algorithms.
Definition in file qr_pseudo_inverse.h.
| int8_t qr_get_pinv | ( | uint8_t | m, |
| uint8_t | n, | ||
| matrix_t | A[m][n], | ||
| matrix_t | pinv_A[n][m], | ||
| enum QR_ALGORITHM | algo | ||
| ) |
Calculate the pseudo inverse of a rectangular matrix using the QR decomposition.
The computation of the pseudo inverse is based on the Householder or Givens algorithm.
| [in] | m | row number of the matrix to inverse. |
| [in] | n | column number of the matrix to inverse. |
| [in] | A[][] | pointer to the matrix A. |
| [out] | pinv_A[][] | pointer to the pseudo-inverse matrix. |
| [in] | algo | choice between the Householder or Givens algorithms. |
Definition at line 32 of file qr_pseudo_inverse.c.
Referenced by qr_pinv_test().