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
  • c2ddbl.png A

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

  • c2ddbl.png B

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

  • c2ddbl.png C

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

  • cdbl.png alpha

    alpha is a real scalar that scales op(A)*op(B).

    The default is 1.

  • cdbl.png beta

    beta is a real scalar that scales C.

    The default is 1.

  • i2ddbl.png dgemm

    dgemm is a real matrix of the same dimensions as C.

    For elements of the first M rows and N columns, dgemm returns the result of alpha*op(A) *op(B) + beta*C. For any remaining elements, dgemm 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