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

# sdrvpt.f(3)

## NAME

TESTING/LIN/sdrvpt.f

## SYNOPSIS

### Functions/Subroutines

subroutine **sdrvpt** (dotype, nn, nval, nrhs, thresh, tsterr, a, d, e, b, x, xact, work, rwork, nout)\
 **SDRVPT**

## Function/Subroutine Documentation

### subroutine sdrvpt (logical, dimension( \* ) dotype, integer nn, integer, dimension( \* ) nval, integer nrhs, real thresh, logical tsterr, real, dimension( \* ) a, real, dimension( \* ) d, real, dimension( \* ) e, real, dimension( \* ) b, real, dimension( \* ) x, real, dimension( \* ) xact, real, dimension( \* ) work, real, dimension( \* ) rwork, integer nout)

**SDRVPT**

**Purpose:**

```
!>
!> SDRVPT tests SPTSV and -SVX.
!>
```

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

*NRHS*

```
!>          NRHS is INTEGER
!>          The number of right hand side vectors to be generated for
!>          each linear system.
!>
```

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

*A*

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

*D*

```
!>          D is REAL array, dimension (NMAX*2)
!>
```

*E*

```
!>          E is REAL array, dimension (NMAX*2)
!>
```

*B*

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

*X*

```
!>          X is REAL array, dimension (NMAX*NRHS)
!>
```

*XACT*

```
!>          XACT is REAL array, dimension (NMAX*NRHS)
!>
```

*WORK*

```
!>          WORK is REAL array, dimension
!>                      (NMAX*max(3,NRHS))
!>
```

*RWORK*

```
!>          RWORK is REAL array, dimension
!>                      (max(NMAX,2*NRHS))
!>
```

*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 **138** of file **sdrvpt.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
