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

# zchkql.f(3)

## NAME

TESTING/LIN/zchkql.f

## SYNOPSIS

### Functions/Subroutines

subroutine **zchkql** (dotype, nm, mval, nn, nval, nnb, nbval, nxval, nrhs, thresh, tsterr, nmax, a, af, aq, al, ac, b, x, xact, tau, work, rwork, nout)\
 **ZCHKQL**

## Function/Subroutine Documentation

### subroutine zchkql (logical, dimension( \* ) dotype, integer nm, integer, dimension( \* ) mval, integer nn, integer, dimension( \* ) nval, integer nnb, integer, dimension( \* ) nbval, integer, dimension( \* ) nxval, integer nrhs, double precision thresh, logical tsterr, integer nmax, complex\*16, dimension( \* ) a, complex\*16, dimension( \* ) af, complex\*16, dimension( \* ) aq, complex\*16, dimension( \* ) al, complex\*16, dimension( \* ) ac, complex\*16, dimension( \* ) b, complex\*16, dimension( \* ) x, complex\*16, dimension( \* ) xact, complex\*16, dimension( \* ) tau, complex\*16, dimension( \* ) work, double precision, dimension( \* ) rwork, integer nout)

**ZCHKQL**

**Purpose:**

```
!>
!> ZCHKQL tests ZGEQLF, ZUNGQL and ZUNMQL.
!>
```

**Parameters**

*DOTYPE*

```
!>          DOTYPE is LOGICAL array, dimension (NTYPES)
!>          The matrix types to be used for testing.  Matrices of type j
!>          (for 1 <= j <= NTYPES) are used for testing if DOTYPE(j) =
!>          .TRUE.; if DOTYPE(j) = .FALSE., then type j is not used.
!>
```

*NM*

```
!>          NM is INTEGER
!>          The number of values of M contained in the vector MVAL.
!>
```

*MVAL*

```
!>          MVAL is INTEGER array, dimension (NM)
!>          The values of the matrix row dimension M.
!>
```

*NN*

```
!>          NN is INTEGER
!>          The number of values of N contained in the vector NVAL.
!>
```

*NVAL*

```
!>          NVAL is INTEGER array, dimension (NN)
!>          The values of the matrix column dimension N.
!>
```

*NNB*

```
!>          NNB is INTEGER
!>          The number of values of NB and NX contained in the
!>          vectors NBVAL and NXVAL.  The blocking parameters are used
!>          in pairs (NB,NX).
!>
```

*NBVAL*

```
!>          NBVAL is INTEGER array, dimension (NNB)
!>          The values of the blocksize NB.
!>
```

*NXVAL*

```
!>          NXVAL is INTEGER array, dimension (NNB)
!>          The values of the crossover point NX.
!>
```

*NRHS*

```
!>          NRHS is INTEGER
!>          The number of right hand side vectors to be generated for
!>          each linear system.
!>
```

*THRESH*

```
!>          THRESH is DOUBLE PRECISION
!>          The threshold value for the test ratios.  A result is
!>          included in the output file if RESULT >= THRESH.  To have
!>          every test ratio printed, use THRESH = 0.
!>
```

*TSTERR*

```
!>          TSTERR is LOGICAL
!>          Flag that indicates whether error exits are to be tested.
!>
```

*NMAX*

```
!>          NMAX is INTEGER
!>          The maximum value permitted for M or N, used in dimensioning
!>          the work arrays.
!>
```

*A*

```
!>          A is COMPLEX*16 array, dimension (NMAX*NMAX)
!>
```

*AF*

```
!>          AF is COMPLEX*16 array, dimension (NMAX*NMAX)
!>
```

*AQ*

```
!>          AQ is COMPLEX*16 array, dimension (NMAX*NMAX)
!>
```

*AL*

```
!>          AL is COMPLEX*16 array, dimension (NMAX*NMAX)
!>
```

*AC*

```
!>          AC is COMPLEX*16 array, dimension (NMAX*NMAX)
!>
```

*B*

```
!>          B is COMPLEX*16 array, dimension (NMAX*NRHS)
!>
```

*X*

```
!>          X is COMPLEX*16 array, dimension (NMAX*NRHS)
!>
```

*XACT*

```
!>          XACT is COMPLEX*16 array, dimension (NMAX*NRHS)
!>
```

*TAU*

```
!>          TAU is COMPLEX*16 array, dimension (NMAX)
!>
```

*WORK*

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

*RWORK*

```
!>          RWORK is DOUBLE PRECISION array, dimension (NMAX)
!>
```

*NOUT*

```
!>          NOUT is INTEGER
!>          The unit number for output.
!>
```

**Author**

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line **193** of file **zchkql.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
