LabVIEW Multicore Analysis and Sparse Matrix Toolkit API Reference

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.

Details  

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.

02-norm (default)
11-norm
2F-norm
3Inf-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.

02-norm (default)
11-norm
2F-norm
3Inf-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.

02-norm (default)—||A||2 is the largest singular value of A.
11-norm—||A||1 is the largest absolute column of A.
2F-norm—||A||F is equal to where tr(AHA) is the trace of matrix AHA and AH is the conjugate transpose of A.
3inf-norm—||A|| is the largest absolute row sum of A.
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.

02-norm (default)—||A||2 is the largest singular value of A.
11-norm—||A||1 is the largest absolute column of A.
2F-norm—||A||F is equal to where tr(AHA) is the trace of matrix AHA and AH is the conjugate transpose of A.
3inf-norm—||A|| is the largest absolute row sum of A.
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:
  • Matrix Condition Number (DBL) when norm type is 1–norm, F–norm or Inf–norm

Refer to the Details section in the Matrix Condition Number VI for more details about this VI.

Log in to get a better experience