# Linear Algebra VIs

## LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

### DOWNLOAD (Windows Only) LabVIEW 2016 Help LabVIEW 2017 Help LabVIEW 2018 Help LabVIEW 2019 Help LabVIEW 2020 Help

Owning Palette: Mathematics VIs

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Linear Algebra VIs to perform matrix-related computations and analysis. Note  Many Linear Algebra VIs are available only in the LabVIEW Full and Professional Development Systems. If you have the LabVIEW Base Development System, you do not have the full set of the Linear Algebra VIs described in this help file. A subset of the Linear Algebra VIs is available in the LabVIEW Base Development System.

The VIs on this palette can return mathematics error codes.

Palette ObjectDescription
A x BPerforms the multiplication of two input matrices or an input matrix and an input vector. The data types you wire to the A and B inputs determine the polymorphic instance to use.
Back Transform EigenvectorsTransforms the eigenvectors of a balanced matrix to those of the original matrix. Wire data to the Eigenvectors input to determine the polymorphic instance to use or manually select the instance.

Cholesky FactorizationPerforms Cholesky factorization on a symmetric or Hermitian positive definite matrix. Wire data to the A input to determine the polymorphic instance to use or manually select the instance.
Cholesky Factorization Rank-1 UpdatePerforms Cholesky factorization on the rank-1 updated Cholesky matrix. The VI performs Cholesky factorization directly on the known factored matrix instead of the updated matrix.
Create Real Matrix From EigenvaluesGenerates a real matrix from Eigenvalues.
Create Special MatrixGenerates a special matrix based on matrix type. The data types you wire to the Input Vector2 and Input Vector1 inputs determine the polymorphic instance to use.
DeterminantComputes the determinant of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Dot ProductComputes the dot product of X Vector and Y Vector. The data types you wire to the X Vector and Y Vector inputs determine the polymorphic instance to use.
Eigenvalues and VectorsFinds the eigenvalues and right eigenvectors of the square Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Generalized Eigenvalues and VectorsComputes the generalized right eigenvalues and eigenvectors of the matrix pair A and B. The data types you wire to the A and B inputs determine the polymorphic instance to use.
Generalized SVD DecompositionComputes the generalized singular value decomposition (GSVD) of a matrix pair (A,B). The data types you wire to the A and B inputs determine the polymorphic instance to use.
Hessenberg DecompositionPerforms the Hessenberg decomposition of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Inverse MatrixFinds Inverse Matrix, if it exists, of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Kronecker ProductCalculates the Kronecker product of the input matrices A and B. The data types you wire to the A and B inputs determine the polymorphic instance to use.
LU FactorizationPerforms the LU factorization of A so that PA = LU. Wire data to the A input to determine the polymorphic instance to use or manually select the instance.
Lyapunov EquationsSolves the Lyapunov matrix equation. The data types you wire to the A and B inputs determine the polymorphic instance to use.
Matrix BalanceBalances the general matrix Input Matrix to improve the accuracy of computed eigenvalues and eigenvectors. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Matrix Characteristic PolynomialComputes the characteristic polynomial of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Matrix Condition NumberComputes 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 ExpComputes the exponential of a square Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Matrix LogarithmComputes the natural logarithm of a square Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Matrix NormComputes the norm of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.

Matrix PowerComputes the nth power of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Matrix RankComputes the rank of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Matrix Square RootComputes the square root of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Outer ProductComputes the outer product of X Vector and Y Vector. The data types you wire to the X Vector and Y Vector inputs determine the polymorphic instance to use.
PseudoInverse MatrixFinds the PseudoInverse Matrix of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.

QR DecompositionPerforms the QR decomposition of A with or without column pivoting. Wire data to the A input to determine the polymorphic instance to use or manually select the instance.
QZ DecompositionPerforms the QZ decomposition of a pair of square matrices. The data types you wire to the A and B inputs determine the polymorphic instance to use.
Schur DecompositionPerforms the Schur decomposition of a square matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.

Solve Linear EquationsSolves a linear system AX = Y. The data types you wire to the Input Matrix and Known Vector inputs determine the polymorphic instance to use.
Subspaces AngleComputes the angle between column spaces of two matrices.
SVD DecompositionComputes the singular value decomposition (SVD) of the m × n matrix A. Wire data to the A input to determine the polymorphic instance to use or manually select the instance.

Sylvester EquationsSolves the Sylvester matrix equation. The data types you wire to the A, B, and C inputs determine the polymorphic instance to use.
Test Matrix TypeTests whether Input Matrix is a matrix of special type. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
TraceFinds the trace of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Transpose MatrixTransposes Input Matrix. If Input Matrix is a complex matrix, the VI performs conjugate transposition. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Vector NormComputes the norm of Input Vector. Wire data to the Input Vector input to determine the polymorphic instance to use or manually select the instance.

SubpaletteDescription
Basic Linear Algebra Subroutines VIsUse the Basic Linear Algebra Subroutines VIs to perform standard functions for basic vector and matrix operations.

Not Helpful