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

# zchkq3.f(3)

## NAME

TESTING/LIN/zchkq3.f

## SYNOPSIS

### Functions/Subroutines

subroutine **zchkq3** (dotype, nm, mval, nn, nval, nnb, nbval, nxval, thresh, a, copya, s, tau, work, rwork, iwork, nout)\
 **ZCHKQ3**

## Function/Subroutine Documentation

### subroutine zchkq3 (logical, dimension( \* ) dotype, integer nm, integer, dimension( \* ) mval, integer nn, integer, dimension( \* ) nval, integer nnb, integer, dimension( \* ) nbval, integer, dimension( \* ) nxval, double precision thresh, complex\*16, dimension( \* ) a, complex\*16, dimension( \* ) copya, double precision, dimension( \* ) s, complex\*16, dimension( \* ) tau, complex\*16, dimension( \* ) work, double precision, dimension( \* ) rwork, integer, dimension( \* ) iwork, integer nout)

**ZCHKQ3**

**Purpose:**

```
!>
!> ZCHKQ3 tests ZGEQP3.
!>
```

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

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

*A*

```
!>          A is COMPLEX*16 array, dimension (MMAX*NMAX)
!>          where MMAX is the maximum value of M in MVAL and NMAX is the
!>          maximum value of N in NVAL.
!>
```

*COPYA*

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

*S*

```
!>          S is DOUBLE PRECISION array, dimension
!>                      (min(MMAX,NMAX))
!>
```

*TAU*

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

*WORK*

```
!>          WORK is COMPLEX*16 array, dimension
!>                      (max(M*max(M,N) + 4*min(M,N) + max(M,N)))
!>
```

*RWORK*

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

*IWORK*

```
!>          IWORK is INTEGER array, dimension (2*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 **155** of file **zchkq3.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
