class="resources"
Performs the QR factorization of A. You can use this polymorphic VI to perform QR factorization on a real matrix or a complex matrix. The data type you wire to the A input determines the polymorphic instance to use. Details Example

![]() |
A is an m-by-n real matrix, where m is the number of rows in A and n is the number of columns in A. It can be either a square or rectangular matrix. | ||||||
![]() |
algorithm specifies how the VI performs the QR factorization.
|
||||||
![]() |
Q is an m-by-m, orthogonal matrix. | ||||||
![]() |
R is an m-by-n, upper triangular matrix. | ||||||
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |

![]() |
A is an m-by-n complex matrix, where m is the number of rows in A and n is the number of columns in A. It can be either a square or rectangular matrix. | ||||||
![]() |
algorithm specifies how the VI performs the QR factorization.
|
||||||
![]() |
Q is an m-by-m, orthogonal matrix. | ||||||
![]() |
R is an m-by-n, upper triangular matrix. | ||||||
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
QR factorization is also called orthogonal-triangular factorization. The QR Factorization VI factors matrix A so that A = QR. You can use QR factorization to solve linear systems with more equations than unknowns.
Refer to the Linear Algebra Calculator VI in the labview\examples\analysis\linaxmpl.llb directory for an example of using the QR Factorization VI.