---
name: "zlarge.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/zlarge.f"
---

# zlarge.f(3)

## NAME

TESTING/MATGEN/zlarge.f

## SYNOPSIS

### Functions/Subroutines

subroutine **zlarge** (n, a, lda, iseed, work, info)\
 **ZLARGE**

## Function/Subroutine Documentation

### subroutine zlarge (integer n, complex\*16, dimension( lda, \* ) a, integer lda, integer, dimension( 4 ) iseed, complex\*16, dimension( \* ) work, integer info)

**ZLARGE**

**Purpose:**

```
!>
!> ZLARGE pre- and post-multiplies a complex general n by n matrix A
!> with a random unitary matrix: A = U*D*U'.
!>
```

**Parameters**

*N*

```
!>          N is INTEGER
!>          The order of the matrix A.  N >= 0.
!>
```

*A*

```
!>          A is COMPLEX*16 array, dimension (LDA,N)
!>          On entry, the original n by n matrix A.
!>          On exit, A is overwritten by U*A*U' for some random
!>          unitary matrix U.
!>
```

*LDA*

```
!>          LDA is INTEGER
!>          The leading dimension of the array A.  LDA >= N.
!>
```

*ISEED*

```
!>          ISEED is INTEGER array, dimension (4)
!>          On entry, the seed of the random number generator; the array
!>          elements must be between 0 and 4095, and ISEED(4) must be
!>          odd.
!>          On exit, the seed is updated.
!>
```

*WORK*

```
!>          WORK is COMPLEX*16 array, dimension (2*N)
!>
```

*INFO*

```
!>          INFO is INTEGER
!>          = 0: successful exit
!>          < 0: if INFO = -i, the i-th argument had an illegal value
!>
```

**Author**

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line **86** of file **zlarge.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
