gemm - General Matrix-Matrix Product VI
- Updated2023-02-21
- 7 minute(s) read
gemm - General Matrix-Matrix Product VI
Owning Palette: Basic Linear Algebra Subroutines VIs
Requires: Multicore Analysis and Sparse Matrix Toolkit
Calculates the product of two general matrices.
Wire data to the A, B, and C inputs to determine the polymorphic instance to use.
dgemm - General Matrix-Matrix Product (DBL)
![]() |
operation B specifies the operation this VI performs on matrix B that results in matrix op(B).
|
||||||
![]() |
operation A specifies the operation this VI performs on matrix A that results in matrix op(A).
|
||||||
![]() |
A specifies a matrix such that op(A) has dimensions M x K. | ||||||
![]() |
B specifies a matrix such that op(B) has dimensions K x N. | ||||||
![]() |
C specifies a matrix of dimensions greater than or equal to M x N. The default is an M x N zero matrix. | ||||||
![]() |
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)*op(B). The default is 1. | ||||||
![]() |
beta specifies a scalar that scales C. The default is 1. | ||||||
![]() |
dgemm returns a matrix of the same size as C. For elements of the first M rows and N columns, this VI returns the result of alpha*op(A)*op(B) + beta*C. For any remaining elements, this VI returns the value of the element in C with the same index. | ||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
sgemm - General Matrix-Matrix Product (SGL)
![]() |
operation B specifies the operation this VI performs on matrix B that results in matrix op(B).
|
||||||
![]() |
operation A specifies the operation this VI performs on matrix A that results in matrix op(A).
|
||||||
![]() |
A specifies a matrix such that op(A) has dimensions M x K. | ||||||
![]() |
B specifies a matrix such that op(B) has dimensions K x N. | ||||||
![]() |
C specifies a matrix of dimensions greater than or equal to M x N. The default is an M x N zero matrix. | ||||||
![]() |
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)*op(B). The default is 1. | ||||||
![]() |
beta specifies a scalar that scales C. The default is 1. | ||||||
![]() |
sgemm returns a matrix of the same size as C. For elements of the first M rows and N columns, this VI returns the result of alpha*op(A)*op(B) + beta*C. For any remaining elements, this VI returns the value of the element in C with the same index. | ||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
zgemm - General Matrix-Matrix Product (CDB)
![]() |
operation B specifies the operation this VI performs on matrix B that results in matrix op(B).
|
||||||
![]() |
operation A specifies the operation this VI performs on matrix A that results in matrix op(A).
|
||||||
![]() |
A specifies a matrix such that op(A) has dimensions M x K. | ||||||
![]() |
B specifies a matrix such that op(B) has dimensions K x N. | ||||||
![]() |
C specifies a matrix of dimensions greater than or equal to M x N. The default is an M x N zero matrix. | ||||||
![]() |
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)*op(B). The default is 1. | ||||||
![]() |
beta specifies a scalar that scales C. The default is 1. | ||||||
![]() |
zgemm returns a matrix of the same size as C. For elements of the first M rows and N columns, this VI returns the result of alpha*op(A)*op(B) + beta*C. For any remaining elements, this VI returns the value of the element in C with the same index. | ||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
cgemm - General Matrix-Matrix Product (CSG)
![]() |
operation B specifies the operation this VI performs on matrix B that results in matrix op(B).
|
||||||
![]() |
operation A specifies the operation this VI performs on matrix A that results in matrix op(A).
|
||||||
![]() |
A specifies a matrix such that op(A) has dimensions M x K. | ||||||
![]() |
B specifies a matrix such that op(B) has dimensions K x N. | ||||||
![]() |
C specifies a matrix of dimensions greater than or equal to M x N. The default is an M x N zero matrix. | ||||||
![]() |
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)*op(B). The default is 1. | ||||||
![]() |
beta specifies a scalar that scales C. The default is 1. | ||||||
![]() |
cgemm returns a matrix of the same size as C. For elements of the first M rows and N columns, this VI returns the result of alpha*op(A)*op(B) + beta*C. For any remaining elements, this VI returns the value of the element in C with the same index. | ||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
gemm - General Matrix-Matrix 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 |