# cchksp.f - Man Page

TESTING/LIN/cchksp.f

## Synopsis

### Functions/Subroutines

subroutine cchksp (dotype, nn, nval, nns, nsval, thresh, tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout)
CCHKSP

## Function/Subroutine Documentation

### subroutine cchksp (logical, dimension( * ) dotype, integer nn, integer, dimension( * ) nval, integer nns, integer, dimension( * ) nsval, real thresh, logical tsterr, integer nmax, complex, dimension( * ) a, complex, dimension( * ) afac, complex, dimension( * ) ainv, complex, dimension( * ) b, complex, dimension( * ) x, complex, dimension( * ) xact, complex, dimension( * ) work, real, dimension( * ) rwork, integer, dimension( * ) iwork, integer nout)

CCHKSP

Purpose:

` CCHKSP tests CSPTRF, -TRI, -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 REAL
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 N, used in dimensioning the
work arrays.```

A

```          A is COMPLEX array, dimension
(NMAX*(NMAX+1)/2)```

AFAC

```          AFAC is COMPLEX array, dimension
(NMAX*(NMAX+1)/2)```

AINV

```          AINV is COMPLEX array, dimension
(NMAX*(NMAX+1)/2)```

B

```          B is COMPLEX array, dimension (NMAX*NSMAX)
where NSMAX is the largest entry in NSVAL.```

X

`          X is COMPLEX array, dimension (NMAX*NSMAX)`

XACT

`          XACT is COMPLEX array, dimension (NMAX*NSMAX)`

WORK

```          WORK is COMPLEX array, dimension
(NMAX*max(2,NSMAX))```

RWORK

```          RWORK is REAL array,
dimension (NMAX+2*NSMAX)```

IWORK

`          IWORK is INTEGER array, dimension (NMAX)`

NOUT

```          NOUT is INTEGER
The unit number for output.```
Author

Univ. of Tennessee

Univ. of California Berkeley

NAG Ltd.

Definition at line 161 of file cchksp.f.

## Author

Generated automatically by Doxygen for LAPACK from the source code.

## Referenced By

The man page cchksp(3) is an alias of cchksp.f(3).

Tue Nov 28 2023 12:08:42 Version 3.12.0 LAPACK