Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

?lacrm

Multiplies a complex matrix by a square real matrix.

Syntax

call clacrm( m, n, a, lda, b, ldb, c, ldc, rwork )

call zlacrm( m, n, a, lda, b, ldb, c, ldc, rwork )

Include Files

  • mkl.h

Description

The routine performs a simple matrix-matrix multiplication of the form

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.

Input Parameters

m

INTEGER. The number of rows of the matrix A and of the matrix C (m 0).

n

INTEGER. The number of columns and rows of the matrix B and the number of columns of the matrix C

(n 0).

a

COMPLEX for clacrm

DOUBLE COMPLEX for zlacrm

Array, DIMENSION(lda, n). Contains the m-by-n matrix A.

lda

INTEGER. The leading dimension of the array a, ldamax(1, m).

b

REAL for clacrm

DOUBLE PRECISION for zlacrm

Array, DIMENSION(ldb, n). Contains the n-by-n matrix B.

ldb

INTEGER. The leading dimension of the array b, ldbmax(1, n).

ldc

INTEGER. The leading dimension of the output array c, ldcmax(1, n).

rwork

REAL for clacrm

DOUBLE PRECISION for zlacrm

Workspace array, DIMENSION(2*m*n).

Output Parameters

c

COMPLEX for clacrm

DOUBLE COMPLEX for zlacrm

Array, DIMENSION (ldc, n). Contains the m-by-n matrix C.