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

# zchktz.f(3)

## NAME

TESTING/LIN/zchktz.f

## SYNOPSIS

### Functions/Subroutines

subroutine **zchktz** (dotype, nm, mval, nn, nval, thresh, tsterr, a, copya, s, tau, work, rwork, nout)\
 **ZCHKTZ**

## Function/Subroutine Documentation

### subroutine zchktz (logical, dimension( \* ) dotype, integer nm, integer, dimension( \* ) mval, integer nn, integer, dimension( \* ) nval, double precision thresh, logical tsterr, 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 nout)

**ZCHKTZ**

**Purpose:**

```
!>
!> ZCHKTZ tests ZTZRZF.
!>
```

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

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

*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
!>                      (MMAX*NMAX + 4*NMAX + MMAX)
!>
```

*RWORK*

```
!>          RWORK is DOUBLE PRECISION 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 **135** of file **zchktz.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
