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

# ccklse.f(3)

## NAME

TESTING/EIG/ccklse.f

## SYNOPSIS

### Functions/Subroutines

subroutine **ccklse** (nn, mval, pval, nval, nmats, iseed, thresh, nmax, a, af, b, bf, x, work, rwork, nin, nout, info)\
 **CCKLSE**

## Function/Subroutine Documentation

### subroutine ccklse (integer nn, integer, dimension( \* ) mval, integer, dimension( \* ) pval, integer, dimension( \* ) nval, integer nmats, integer, dimension( 4 ) iseed, real thresh, integer nmax, complex, dimension( \* ) a, complex, dimension( \* ) af, complex, dimension( \* ) b, complex, dimension( \* ) bf, complex, dimension( \* ) x, complex, dimension( \* ) work, real, dimension( \* ) rwork, integer nin, integer nout, integer info)

**CCKLSE**

**Purpose:**

```
!>
!> CCKLSE tests CGGLSE - a subroutine for solving linear equality
!> constrained least square problem (LSE).
!>
```

**Parameters**

*NN*

```
!>          NN is INTEGER
!>          The number of values of (M,P,N) contained in the vectors
!>          (MVAL, PVAL, NVAL).
!>
```

*MVAL*

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

*PVAL*

```
!>          PVAL is INTEGER array, dimension (NN)
!>          The values of the matrix row(column) dimension P.
!>
```

*NVAL*

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

*NMATS*

```
!>          NMATS is INTEGER
!>          The number of matrix types to be tested for each combination
!>          of matrix dimensions.  If NMATS >= NTYPES (the maximum
!>          number of matrix types), then all the different types are
!>          generated for testing.  If NMATS < NTYPES, another input line
!>          is read to get the numbers of the matrix types to be used.
!>
```

*ISEED*

```
!>          ISEED is INTEGER array, dimension (4)
!>          On entry, the seed of the random number generator.  The array
!>          elements should be between 0 and 4095, otherwise they will be
!>          reduced mod 4096, and ISEED(4) must be odd.
!>          On exit, the next seed in the random number sequence after
!>          all the test matrices have been generated.
!>
```

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

*NMAX*

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

*A*

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

*AF*

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

*B*

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

*BF*

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

*X*

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

*WORK*

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

*RWORK*

```
!>          RWORK is REAL array, dimension (NMAX)
!>
```

*NIN*

```
!>          NIN is INTEGER
!>          The unit number for input.
!>
```

*NOUT*

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

*INFO*

```
!>          INFO is INTEGER
!>          = 0 :  successful exit
!>          > 0 :  If CLATMS returns an error code, the absolute value
!>                 of it is returned.
!>
```

**Author**

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line **165** of file **ccklse.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
