LabVIEW Multicore Analysis and Sparse Matrix Toolkit API Reference

Content Type
Programming Language
Current manual

gemv - General Matrix-Vector Product VI

gemv - General Matrix-Vector Product VI

Owning Palette: Basic Linear Algebra Subroutines VIs

Requires: Multicore Analysis and Sparse Matrix Toolkit

Calculates the product of a general matrix and a vector.

Wire data to the A, x, and y inputs to determine the polymorphic instance to use.

Details  

dgemv - General Matrix-Vector Product (DBL)

operation A specifies the operation this VI performs on matrix A that results in matrix op(A).

0Direct (default)
1Conjugated & Transposed
2Transposed
A specifies a matrix such that op(A) has dimensions N x M.
x specifies a vector. This VI multiplies the first M elements in x by op(A). x must have at least M elements.
y specifies a vector. y must have at least N elements. The default is an N-element vector with all elements equal to 0.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
alpha specifies a scalar that scales op(A)*x. The default is 1.
beta specifies a scalar that scales y. The default is 1.
dgemv returns a vector of the same size as y. For the first N elements, this VI returns the results of alpha*op(A)*x + beta*y. For any remaining elements, this VI returns the value of the element in y with the same index.
error out contains error information. This output provides standard error out functionality.

sgemv - General Matrix-Vector Product (SGL)

operation A specifies the operation this VI performs on matrix A that results in matrix op(A).

0Direct (default)
1Conjugated & Transposed
2Transposed
A specifies a matrix such that op(A) has dimensions N x M.
x specifies a vector. This VI multiplies the first M elements in x by op(A). x must have at least M elements.
y specifies a vector. y must have at least N elements. The default is an N-element vector with all elements equal to zero.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
alpha specifies a scalar that scales op(A)*x. The default is 1.
beta specifies a scalar that scales y. The default is 1.
sgemv returns a vector of the same size as y. For the first N elements, this VI returns the results of alpha*op(A)*x + beta*y. For any remaining elements, this VI returns the value of the element in y with the same index.
error out contains error information. This output provides standard error out functionality.

zgemv - General Matrix-Vector Product (CDB)

operation A specifies the operation this VI performs on matrix A that results in matrix op(A).

0Direct (default)
1Conjugated & Transposed
2Transposed
A specifies a matrix such that op(A) has dimensions N x M.
x specifies a vector. This VI multiplies the first M elements in x by op(A). x must have at least M elements.
y specifies a vector. y must have at least N elements. The default is an N-element vector with all elements equal to zero.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
alpha specifies a scalar that scales op(A)*x. The default is 1.
beta specifies a scalar that scales C. The default is 1.
zgemv returns a vector of the same size as y. For the first N elements, this VI returns the results of alpha*op(A)*x + beta*y. For any remaining elements, this VI returns the value of the element in y with the same index.
error out contains error information. This output provides standard error out functionality.

cgemv - General Matrix-Vector Product (CSG)

operation A specifies the operation this VI performs on matrix A that results in matrix op(A).

0Direct (default)
1Conjugated & Transposed
2Transposed
A specifies a matrix such that op(A) has dimensions N x M.
x specifies a vector. This VI multiplies the first M elements in x by op(A). x must have at least M elements.
y specifies a vector. y must have at least N elements. The default is an N-element vector with all elements equal to zero.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
alpha specifies a scalar that scales op(A)*x. The default is 1.
beta specifies a scalar that scales y. The default is 1.
cgemv returns a vector of the same size as y. For the first N elements, this VI returns the results of alpha*op(A)*x + beta*y. For any remaining elements, this VI returns the value of the element in y with the same index.
error out contains error information. This output provides standard error out functionality.

gemv - General Matrix-Vector Product Details

The following table lists the support characteristics of this VI.

Supported on RT targets Yes
Suitable for bounded execution times on RT No
Was this information helpful?