Calculates the product of two general matrices.

The data types you wire to A, B, and C determine the polymorphic instance to use.


icon

Inputs/Outputs

  • ci32.png operation B

    operation B specifies the operation the VI performs on matrix B, resulting in matrix op(B).

    0Direct (default)
    1Conjugated & Transposed
    2Transposed
  • ci32.png operation A

    operation A specifies the operation the VI performs on matrix A, resulting in matrix op(A).

    0Direct (default)
    1Conjugated & Transposed
    2Transposed
  • c2dcdb.png A

    A is a complex matrix of dimensions such that op(A) is an M × K matrix.

  • c2dcdb.png B

    B is a complex matrix such that op(B) is a K × N matrix.

  • c2dcdb.png C

    C is a complex matrix of dimensions greater than or equal to M × N.

  • ccdb.png alpha

    alpha is a complex scalar that scales op(A)*op(B). The default is 1.

  • ccdb.png beta

    beta is a complex scalar that scales C.

    The default is 1.

  • i2dcdb.png zgemm

    zgemm is a complex matrix of the same dimensions as C.

    For elements of the first M rows and N columns, zgemm returns the result of alpha*op(A) *op(B) + beta*C. For any remaining elements, zgemm returns the value of the element in C with the same index.

  • ii32.png error

    error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

  • Refer to the BLAS (Basic Linear Algebra Subprograms) website at netlib.org for more information on BLAS functions.

    Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Mathematics\Linear Algebra\Comparison of BLAS and linear algebra VIs.vi