LACRM - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
template<typename T, typename Ta>
void lacrm(integer *m, integer *n, T *a, integer *lda, Ta *b, integer *ldb, T *c, integer *ldc, T *rwork)#

LACRM multiplies a complex matrix by a square real matrix.

Purpose:

 LACRM performs a very simple matrix-matrix multiplication:
          C := A * B,
 where A is M by N and complex; B is N by N and real;
 C is M by N and complex.
Parameters:
  • M[in]

    M is INTEGER

    The number of rows of the matrix A and of the matrix C. M >= 0.

  • N[in]

    N is INTEGER

    The number of columns and rows of the matrix B and the number of columns of the matrix C. N >= 0.

  • A[in]

    A is COMPLEX array, dimension (LDA, N)

    On entry, A contains the M by N matrix A.

  • LDA[in]

    LDA is INTEGER

    The leading dimension of the array A. LDA >=max(1,M).

  • B[in]

    B is REAL array, dimension (LDB, N)

    On entry, B contains the N by N matrix B.

  • LDB[in]

    LDB is INTEGER

    The leading dimension of the array B. LDB >=max(1,N).

  • C[out]

    C is COMPLEX array, dimension (LDC, N)

    On exit, C contains the M by N matrix C.

  • LDC[in]

    LDC is INTEGER

    The leading dimension of the array C. LDC >=max(1,N).

  • RWORK[out] RWORK is REAL array, dimension (2*M*N)