---
name: "zlacrm.f"
section: "3"
platform: "linux"
package: "lapack-doc"
version: "3.12.1-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/zlacrm.f"
---

# zlacrm.f(3)

## NAME

SRC/zlacrm.f

## SYNOPSIS

### Functions/Subroutines

subroutine **zlacrm** (m, n, a, lda, b, ldb, c, ldc, rwork)\
 **ZLACRM** multiplies a complex matrix by a square real matrix.

## Function/Subroutine Documentation

### subroutine zlacrm (integer m, integer n, complex\*16, dimension( lda, \* ) a, integer lda, double precision, dimension( ldb, \* ) b, integer ldb, complex\*16, dimension( ldc, \* ) c, integer ldc, double precision, dimension( \* ) rwork)

**ZLACRM** multiplies a complex matrix by a square real matrix.

**Purpose:**

```
!>
!> ZLACRM 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*

```
!>          M is INTEGER
!>          The number of rows of the matrix A and of the matrix C.
!>          M >= 0.
!>
```

*N*

```
!>          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*

```
!>          A is COMPLEX*16 array, dimension (LDA, N)
!>          On entry, A contains the M by N matrix A.
!>
```

*LDA*

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

*B*

```
!>          B is DOUBLE PRECISION array, dimension (LDB, N)
!>          On entry, B contains the N by N matrix B.
!>
```

*LDB*

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

*C*

```
!>          C is COMPLEX*16 array, dimension (LDC, N)
!>          On exit, C contains the M by N matrix C.
!>
```

*LDC*

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

*RWORK*

```
!>          RWORK is DOUBLE PRECISION array, dimension (2*M*N)
!>
```

**Author**

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line **113** of file **zlacrm.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
