?larcm

Multiplies a square real matrix by a complex matrix.

Syntax

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

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

Include Files

Description

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

C = A*B,

where A is m-by-m and real, B is m-by-n and complex, C is m-by-n and complex.

Input Parameters

m

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

n

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

(n 0).

a

REAL for clarcm

DOUBLE PRECISION for zlarcm

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

lda

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

b

COMPLEX for clarcm

DOUBLE COMPLEX for zlarcm

Array, DIMENSION (ldb, n). Contains the m-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, m).

rwork

REAL for clarcm

DOUBLE PRECISION for zlarcm

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

Output Parameters

c

COMPLEX for clarcm

DOUBLE COMPLEX for zlarcm

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


Submit feedback on this help topic