LabVIEW Multicore Analysis and Sparse Matrix Toolkit API Reference

PseudoInverse Matrix VI

  • Updated2023-02-21
  • 7 minute(s) read

PseudoInverse Matrix VI

Owning Palette: Linear Algebra VIs

Requires: Multicore Analysis and Sparse Matrix Toolkit

Finds the pseudoinverse of Input Matrix.

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

Details  

PseudoInverse Matrix (DBL)

Input Matrix specifies a square or rectangular matrix. If Input Matrix is not square or singular, the inverse of Input Matrix does not exist. You can compute the pseudoinverse of Input Matrix instead. If Input Matrix is empty, this VI sets PseudoInverse Matrix to an empty matrix.
tolerance specifies a level such that this VI treats the singular values of Input Matrix that are smaller than or equal to this level as zeros. The default is –1. If tolerance is negative, this VI specifies tolerance according to the following equation.

tolerance = max(m,n)*||A||*,

where A represents the Input Matrix, ||A|| is the 2-norm of A, m represents the number of rows in A, n represents the number of columns in A, and is a double-precision machine epsilon, as shown in the following relationship.

= 2–52 = 2.22e – 16

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
PseudoInverse Matrix returns the pseudoinverse matrix of the Input Matrix. If Input Matrix is square and nonsingular, the pseudoinverse is the same as the inverse of Input Matrix, and using the Inverse Matrix VI to compute A–1 is more efficient than using this VI.
error out contains error information. This output provides standard error out functionality.

PseudoInverse Matrix (SGL)

Input Matrix specifies a square or rectangular matrix. If Input Matrix is not square or singular, the inverse of Input Matrix does not exist. You can compute the pseudoinverse of Input Matrix instead. If Input Matrix is empty, this VI sets PseudoInverse Matrix to an empty matrix.
tolerance specifies a level such that this VI treats the singular values of Input Matrix that are smaller than or equal to this level as zeros. The default is –1. If tolerance is negative, this VI specifies tolerance according to the following equation.

tolerance = max(m,n)*||A||*,

where A represents the Input Matrix, ||A|| is the 2-norm of A, m represents the number of rows in A, n represents the number of columns in A, and is a single-precision machine epsilon, as shown in the following relationship.

= 2–23 = 1.19e – 7

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
PseudoInverse Matrix returns the pseudoinverse matrix of the Input Matrix. If Input Matrix is square and nonsingular, the pseudoinverse is the same as the inverse of Input Matrix, and using the Inverse Matrix VI to compute A–1 is more efficient than using this VI.
error out contains error information. This output provides standard error out functionality.

PseudoInverse Matrix (CDB)

Input Matrix specifies a square or rectangular matrix. If Input Matrix is not square or singular, the inverse of Input Matrix does not exist. You can compute the pseudoinverse of Input Matrix instead. If Input Matrix is empty, this VI sets PseudoInverse Matrix to an empty matrix.
tolerance specifies a level such that this VI treats the singular values of Input Matrix that are smaller than or equal to this level as zeros. The default is –1. If tolerance is negative, this VI specifies tolerance according to the following equation.

tolerance = max(m,n)*||A||*,

where A represents the Input Matrix, ||A|| is the 2-norm of A, m represents the number of rows in A, n represents the number of columns in A, and is a double-precision machine epsilon, as shown in the following relationship.

= 2–52 = 2.22e – 16

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
PseudoInverse Matrix returns the pseudoinverse matrix of the Input Matrix. If Input Matrix is square and nonsingular, the pseudoinverse is the same as the inverse of Input Matrix, and using the Inverse Matrix VI to compute A–1 is more efficient than using this VI.
error out contains error information. This output provides standard error out functionality.

PseudoInverse Matrix (CSG)

Input Matrix specifies a square or rectangular matrix. If Input Matrix is not square or singular, the inverse of Input Matrix does not exist. You can compute the pseudoinverse of Input Matrix instead. If Input Matrix is empty, this VI sets PseudoInverse Matrix to an empty matrix.
tolerance specifies a level such that this VI treats the singular values of Input Matrix that are smaller than or equal to this level as zeros. The default is –1. If tolerance is negative, this VI specifies tolerance according to the following equation.

tolerance = max(m,n)*||A||*,

where A represents the Input Matrix, ||A|| is the 2-norm of A, m represents the number of rows in A, n represents the number of columns in A, and is a single-precision machine epsilon, as shown in the following relationship.

= 2–23 = 1.19e – 7

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
PseudoInverse Matrix returns the pseudoinverse matrix of the Input Matrix. If Input Matrix is square and nonsingular, the pseudoinverse is the same as the inverse of Input Matrix, and using the Inverse Matrix VI to compute A–1 is more efficient than using this VI.
error out contains error information. This output provides standard error out functionality.

PseudoInverse Matrix 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 PseudoInverse Matrix VI for more details about this VI.

Log in to get a better experience