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

# dchkgt.f(3)

## NAME

TESTING/LIN/dchkgt.f

## SYNOPSIS

### Functions/Subroutines

subroutine **dchkgt** (dotype, nn, nval, nns, nsval, thresh, tsterr, a, af, b, x, xact, work, rwork, iwork, nout)\
 **DCHKGT**

## Function/Subroutine Documentation

### subroutine dchkgt (logical, dimension( \* ) dotype, integer nn, integer, dimension( \* ) nval, integer nns, integer, dimension( \* ) nsval, double precision thresh, logical tsterr, double precision, dimension( \* ) a, double precision, dimension( \* ) af, double precision, dimension( \* ) b, double precision, dimension( \* ) x, double precision, dimension( \* ) xact, double precision, dimension( \* ) work, double precision, dimension( \* ) rwork, integer, dimension( \* ) iwork, integer nout)

**DCHKGT**

**Purpose:**

```
!>
!> DCHKGT tests DGTTRF, -TRS, -RFS, and -CON
!>
```

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

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

*NNS*

```
!>          NNS is INTEGER
!>          The number of values of NRHS contained in the vector NSVAL.
!>
```

*NSVAL*

```
!>          NSVAL is INTEGER array, dimension (NNS)
!>          The values of the number of right hand sides NRHS.
!>
```

*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 DOUBLE PRECISION array, dimension (NMAX*4)
!>
```

*AF*

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

*B*

```
!>          B is DOUBLE PRECISION array, dimension (NMAX*NSMAX)
!>          where NSMAX is the largest entry in NSVAL.
!>
```

*X*

```
!>          X is DOUBLE PRECISION array, dimension (NMAX*NSMAX)
!>
```

*XACT*

```
!>          XACT is DOUBLE PRECISION array, dimension (NMAX*NSMAX)
!>
```

*WORK*

```
!>          WORK is DOUBLE PRECISION array, dimension
!>                      (NMAX*max(3,NSMAX))
!>
```

*RWORK*

```
!>          RWORK is DOUBLE PRECISION array, dimension
!>                      (max(NMAX,2*NSMAX))
!>
```

*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 **144** of file **dchkgt.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
