?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

  • Fortran: mkl.fi
  • C: 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, lda max(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, ldb max(1, n).

ldc

INTEGER. The leading dimension of the output array c, ldc max(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.

For more complete information about compiler optimizations, see our Optimization Notice.