Matrix Condition Number VI
- Updated2023-02-21
- 6 minute(s) read
Matrix Condition Number VI
Owning Palette: Linear Algebra VIs
Requires: Multicore Analysis and Sparse Matrix Toolkit
Computes the condition number of Input Matrix.
Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Matrix Condition Number (DBL)

![]() |
Input Matrix specifies a square matrix. If norm type is 2-norm, Input Matrix can be a rectangular matrix. If Input Matrix is empty, this VI sets condition number to NaN. | ||||||||
![]() |
norm type specifies the type of matrix norm this VI uses to compute the condition number. Refer to the Matrix Norm VI for a definition of a matrix norm.
|
||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||
![]() |
condition number returns the condition number of Input Matrix for the specified norm type. If norm type is 2-norm, the condition number is the ratio of the largest singular value of Input Matrix to the smallest singular value of Input Matrix. | ||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Matrix Condition Number (SGL)

![]() |
Input Matrix specifies a square matrix. If norm type is 2-norm, Input Matrix can be a rectangular matrix. If Input Matrix is empty, this VI sets condition number to NaN. | ||||||||
![]() |
norm type specifies the type of matrix norm this VI uses to compute the condition number. Refer to the Matrix Norm VI for a definition of a matrix norm.
|
||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||
![]() |
condition number returns the condition number of Input Matrix for the specified norm type. If norm type is 2-norm, the condition number is the ratio of the largest singular value of Input Matrix to the smallest singular value of Input Matrix. | ||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Matrix Condition Number (CDB)

![]() |
Input Matrix specifies a square matrix. If norm type is 2-norm, Input Matrix can be a rectangular matrix. If Input Matrix is empty, this VI sets condition number to NaN. | ||||||||
![]() |
norm type specifies the type of matrix norm this VI uses to compute the condition number. Let A represent the Input Matrix, the norm of A is represented by ||A||p, where p is the different types of norms that this VI computes.
|
||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||
![]() |
condition number returns the condition number of Input Matrix for the specified norm type. If norm type is 2-norm, the condition number is the ratio of the largest singular value of Input Matrix to the smallest singular value of Input Matrix. | ||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Matrix Condition Number (CSG)

![]() |
Input Matrix specifies a square matrix. If norm type is 2-norm, Input Matrix can be a rectangular matrix. If Input Matrix is empty, this VI sets condition number to NaN. | ||||||||
![]() |
norm type specifies the type of matrix norm this VI uses to compute the condition number. Let A represent the Input Matrix, the norm of A is represented by ||A||p, where p is the different types of norms that this VI computes.
|
||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||
![]() |
condition number returns the condition number of Input Matrix for the specified norm type. If norm type is 2-norm, the condition number is the ratio of the largest singular value of Input Matrix to the smallest singular value of Input Matrix. | ||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Matrix Condition Number Details
The following table lists the support characteristics of this VI.
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Yes (with exceptions). The following cases are exceptions:
|
Refer to the Details section in the Matrix Condition Number VI for more details about this VI.








where tr(AHA) is the trace of matrix AHA and AH is the conjugate transpose of A.
is the largest absolute row sum of A.