OpenLvVision_OpenCv.lvlib:Gemm.vim

Performs generalized matrix multiplication.

The function gemm performs generalized matrix multiplication:

  • Generalized Matrix Multiplication:
    $ \texttt{dst} = \texttt{alpha} \cdot \texttt{src1} \cdot \texttt{src2} + \texttt{beta} \cdot \texttt{src3} $

Where op(X) is X or X^T (transpose of X), depending on the flags:

  • GEMM_1_T: Transpose src1
  • GEMM_2_T: Transpose src2
  • GEMM_3_T: Transpose src3

The function can be replaced with a matrix expression:

dst = alpha * src1 * src2 + beta * src3; // (or using .t() for transposition)

For detailed information, please refer to the OpenCV documentation

OpenLvVision_OpenCv.lvlib:Gemm.vim

cerrcodeclst

error in

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    cbool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ci32

    code

    cstr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Src1 in

first multiplied input matrix that could be real(CV_32FC1, CV_64FC1) or complex(CV_32FC2, CV_64FC2).

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Src2 in

second multiplied input matrix of the same type as src1.

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Dst in

output matrix; it has the proper size and the same type as input matrices.

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Src3 in

third optional delta matrix added to the matrix product; it should have the same type as src1 and src2.

cdbl

Alpha

cdbl

Beta

weight of src3.

ci32

GemmFlags

operation flags:

GEMM_1_T: transposes src1

GEMM_2_T: transposes src2

GEMM_3_T: transposes src3

ierrcodeclst

error out

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ibool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ii32

    code

    istr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

iOpenLvVision__OpenCv_lvlib_Anythinglvclass

Dst out

output matrix; it has the proper size and the same type as input matrices.