ni.com is currently experiencing issues.

Support teams are actively working on the resolution.

LabVIEW Multicore Analysis and Sparse Matrix Toolkit API Reference

Content Type
Programming Language
Current manual

QR Decomposition VI

QR Decomposition VI

Owning Palette: Linear Algebra VIs

Requires: Multicore Analysis and Sparse Matrix Toolkit

Computes the QR decomposition of a matrix A.

Wire data to the A input to determine the polymorphic instance to use or manually select the instance.

Details  

QR Decomposition (DBL)

A specifies an m × n matrix with m rows and n columns.
pivot? specifies whether this VI decomposes A with column pivoting. When pivot? is TRUE, this VI decomposes A according to the following equation: AP=QR. This VI returns the absolute values of the diagonals of R in descending order. When pivot? is FALSE, this VI decomposes A according to the following equation: A=QR. The default is FALSE.
Q option specifies how this VI generates Q.

0Full Size Q (default)—The size of Q is m-by-m, and the size of R is m-by-n.
1Economy Size Q—The size of Q is m-by-min(m, n), and the size of R is min(m, n)-by-n.
2No Q—This VI does not generate Q, and the size of R is min(m, n)-by-n.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Q returns the decomposed Q matrix. The columns of Q compose an orthogonal set. Q is empty if Q option is set to No Q.
R returns the decomposed upper triangular R matrix.
P returns the decomposed permutation matrix. P is empty if pivot? is set to FALSE.
error out contains error information. This output provides standard error out functionality.

QR Decomposition (SGL)

A specifies an m × n matrix with m rows and n columns.
pivot? specifies whether this VI decomposes A with column pivoting. When pivot? is TRUE, this VI decomposes A according to the following equation: AP=QR. This VI returns the absolute values of the diagonals of R in descending order. When pivot? is FALSE, this VI decomposes A according to the following equation: A=QR. The default is FALSE.
Q option specifies how this VI generates Q.

0Full Size Q (default)—The size of Q is m-by-m, and the size of R is m-by-n.
1Economy Size Q—The size of Q is m-by-min(m, n), and the size of R is min(m, n)-by-n.
2No Q—This VI does not generate Q, and the size of R is min(m, n)-by-n.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Q returns the decomposed Q matrix. The columns of Q compose an orthogonal set. Q is empty if Q option is set to No Q.
R returns the decomposed upper triangular R matrix.
P returns the decomposed permutation matrix. P is empty if pivot? is set to FALSE.
error out contains error information. This output provides standard error out functionality.

QR Decomposition (CDB)

A specifies an m × n matrix with m rows and n columns.
pivot? specifies whether this VI decomposes A with column pivoting. When pivot? is TRUE, this VI decomposes A according to the following equation: AP=QR. This VI returns the absolute values of the diagonals of R in descending order. When pivot? is FALSE, this VI decomposes A according to the following equation: A=QR. The default is FALSE.
Q option specifies how this VI generates Q.

0Full Size Q (default)—The size of Q is m-by-m, and the size of R is m-by-n.
1Economy Size Q—The size of Q is m-by-min(m, n), and the size of R is min(m, n)-by-n.
2No Q—This VI does not generate Q, and the size of R is min(m, n)-by-n.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Q returns the decomposed Q matrix. The columns of Q compose an orthogonal set. Q is empty if Q option is set to No Q.
R returns the decomposed upper triangular R matrix.
P returns the decomposed permutation matrix. P is empty if pivot? is set to FALSE.
error out contains error information. This output provides standard error out functionality.

QR Decomposition (CSG)

A specifies an m × n matrix with m rows and n columns.
pivot? specifies whether this VI decomposes A with column pivoting. When pivot? is TRUE, this VI decomposes A according to the following equation: AP=QR. This VI returns the absolute values of the diagonals of R in descending order. When pivot? is FALSE, this VI decomposes A according to the following equation: A=QR. The default is FALSE.
Q option specifies how this VI generates Q.

0Full Size Q (default)—The size of Q is m-by-m, and the size of R is m-by-n.
1Economy Size Q—The size of Q is m-by-min(m, n), and the size of R is min(m, n)-by-n.
2No Q—This VI does not generate Q, and the size of R is min(m, n)-by-n.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Q returns the decomposed Q matrix. The columns of Q compose an orthogonal set. Q is empty if Q option is set to No Q.
R returns the decomposed upper triangular R matrix.
P returns the decomposed permutation matrix. P is empty if pivot? is set to FALSE.
error out contains error information. This output provides standard error out functionality.

QR Decomposition Details

The following table lists the support characteristics of this VI.

Supported on RT targets Yes
Suitable for bounded execution times on RT Yes

Refer to the Details section in the QR Decomposition VI for more details about this VI.

Was this information helpful?

Help us improve your future ni.com experience.

What are you trying to do?

Submit