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

# cdrvrf3.f(3)

## NAME

TESTING/LIN/cdrvrf3.f

## SYNOPSIS

### Functions/Subroutines

subroutine **cdrvrf3** (nout, nn, nval, thresh, a, lda, arf, b1, b2, s\_work\_clange, c\_work\_cgeqrf, tau)\
 **CDRVRF3**

## Function/Subroutine Documentation

### subroutine cdrvrf3 (integer nout, integer nn, integer, dimension( nn ) nval, real thresh, complex, dimension( lda, \* ) a, integer lda, complex, dimension( \* ) arf, complex, dimension( lda, \* ) b1, complex, dimension( lda, \* ) b2, real, dimension( \* ) s\_work\_clange, complex, dimension( \* ) c\_work\_cgeqrf, complex, dimension( \* ) tau)

**CDRVRF3**

**Purpose:**

```
!>
!> CDRVRF3 tests the LAPACK RFP routines:
!>     CTFSM
!>
```

**Parameters**

*NOUT*

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

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

*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 (LDA,NMAX)
!>
```

*LDA*

```
!>          LDA is INTEGER
!>                The leading dimension of the array A.  LDA >= max(1,NMAX).
!>
```

*ARF*

```
!>          ARF is COMPLEX array, dimension ((NMAX*(NMAX+1))/2).
!>
```

*B1*

```
!>          B1 is COMPLEX array, dimension (LDA,NMAX)
!>
```

*B2*

```
!>          B2 is COMPLEX array, dimension (LDA,NMAX)
!>
```

*S\_WORK\_CLANGE*

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

*C\_WORK\_CGEQRF*

```
!>          C_WORK_CGEQRF is COMPLEX array, dimension (NMAX)
!>
```

*TAU*

```
!>          TAU is COMPLEX array, dimension (NMAX)
!>
```

**Author**

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line **117** of file **cdrvrf3.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
