Basic Linear Algebra Subroutines VIs

Owning Palette: Linear Algebra VIs

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

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

The VIs on this palette can return mathematics error codes.

Palette ObjectDescription
amax - Max Element IndexFor real vectors, returns the index of the element that has the maximum absolute value. For complex vectors, the VI returns the index of the element that has the maximum sum of absolute real and imaginary parts.
amin - Min Element IndexFor real vectors, returns the index of the element that has the minimum absolute value. For complex vectors, the VI returns the index of the element that has the minimum sum of absolute real and imaginary parts.
asum - Absolute Values SumCalculates the sum of the absolute values of elements in a vector. For complex vectors, the VI calculates the sum of the absolute values of the real and imaginary parts of elements in a vector.
axpy - Scalar-Vector ProductCalculates the product of a scalar and a vector.
copy - Vector CopyReplaces elements in y with elements in x.
ddot - Dot Product (DBL)Calculates the dot product of two real vectors.
dger - General Matrix Rank-1 Update (DBL)Calculates the rank–1 update of a general matrix.
drotm - Fast Givens Rotation (DBL)Rotates a set of two-element vectors based on the original x-components and y-components and on the Rotation Matrix and related parameters that the drotmg - Fast Givens Rotation Parameters VI calculates.
drotmg - Fast Givens Rotation Parameters (DBL)Calculates a fast Givens rotation matrix that zeros the y component of a two-element real vector and calculates the related parameters. You can use the output parameters in the drotm - Fast Givens Rotation (DBL) VI.
dsymv - Symmetric Matrix-Vector Product (DBL)Calculates the product of a symmetric matrix and a vector.
dsyr - Symmetric Matrix Rank-1 Update (DBL)Calculates the rank–1 update of the upper or lower triangular component of a symmetric matrix.
dsyr2 - Symmetric Matrix Rank-2 Update (DBL)Calculates the rank–2 update of the upper or lower triangular component of a symmetric matrix.
gemm - General Matrix-Matrix ProductCalculates the product of two general matrices.
gemv - General Matrix-Vector ProductCalculates the product of a general matrix and a vector.
nrm2 - Vector 2-NormCalculates the Euclidean norm of a vector.
rot - Givens RotationApplies a Givens rotation to a set of points.
rotg - Givens Rotation ParametersCreates the parameters used in the rot - Givens Rotation VI.
swap - Vector SwapSwaps elements between two vectors.
symm - Symmetric Matrix-Matrix ProductCalculates the product of a symmetric matrix and another matrix.
syr2k - Symmetric Matrix Rank-2k UpdateCalculates the rank–2k update of a symmetric matrix.
syrk - Symmetric Matrix Rank-k UpdateCalculates the rank–k update of the upper or lower triangular component of a symmetric matrix.
trmm - Triangle Matrix-Matrix ProductCalculates the product of a triangular matrix and another matrix.
trmv - Triangle Matrix-Vector ProductCalculates the product of a triangular matrix and a vector.
trsm - Solve Linear Eqs (Triangle, multiple)Solves either op(A)*trsm = alpha*x or trsm*op(A) = alpha*x for trsm.
trsv - Solve Linear Eqs (Triangle, single)Solves the linear equation op(A)*trsv = x for trsv.
zdotc - Dot Product with Conjugation (CDB)Calculates the conjugated dot product of two complex vectors.
zdotu - Dot Product (CDB)Calculates the unconjugated dot product of two complex vectors.
zgerc - General Matrix Rank-1 Update with Conjugation (CDB)Calculates the rank–1 conjugated update of a general matrix.
zgeru - General Matrix Rank-1 Update (CDB)Calculates the rank–1 update of a general matrix.
zhemm - Hermitian Matrix-Matrix Product (CDB)Calculates the product of a Hermitian matrix and another matrix.
zhemv - Hermitian Matrix-Vector Product (CDB)Calculates the product of a Hermitian matrix and a vector.
zher - Hermitian Matrix Rank-1 Update (CDB)Calculates the rank–1 update of the upper or lower triangular component of a Hermitian matrix.
zher2 - Hermitian Matrix Rank-2 Update (CDB)Calculates the rank–2 update of the upper or lower triangular component of a Hermitian matrix.
zher2k - Hermitian Matrix Rank-2k Update (CDB)Calculates the rank–2k update of the upper or lower triangular component of a Hermitian matrix.
zherk - Hermitian Matrix Rank-k Update (CDB)Calculates the rank–k update of the upper or lower triangular component of a Hermitian matrix.