Argument Declarations    Next: Vector-Vector Operations Up: Specifications of the Previous: Specifications of the

## Argument Declarations

Type, dimension and description for variables occurring in the subroutine specifications are as follows:

```   CHARACTER*1        SIDE, UPLO, TRANS, TRANSA, TRANSB, DIAG
INTEGER            IA, IB, IC, INCX, INCY, INDX, IX, IY
INTEGER            JA, JB, JC, JX, JY, M, N, K
INTEGER            DESCA( 8 ), DESCB( 8 ), DESCC( 8 )
INTEGER            DESCX( 8 ), DESCY( 8 )```

For routines whose second letter is a S:

```   REAL               ALPHA, AMAX, ASUM, BETA, DOT, NRM2
REAL               A( * ), B( * ), C( * ), X( * ), Y ( * )```

For routines whose second letter is a D:

```   DOUBLE PRECISION   ALPHA, AMAX, ASUM, BETA, DOT, NRM2
DOUBLE PRECISION   A( * ), B( * ), C( * ), X( * ), Y ( * )```

For routines whose second letter is a C:

```   REAL               AMAX, ASUM, DOTC, DOTU, NRM2
COMPLEX            ALPHA, BETA
COMPLEX            A( * ), B( * ), C( * ), X( * ), Y ( * )```

except for PCHER and PCHERK where the scalars and are real so that the first declaration above is replaced by:

`   REAL               ALPHA, BETA`

and for PCHER2K is complex and is real, so this is replaced by:

```   COMPLEX            ALPHA
REAL               BETA```

For routines whose second letter is a Z:

```   DOUBLE PRECISION   AMAX, ASUM, DOTC, DOTU, NRM2
COMPLEX*16         ALPHA, BETA
COMPLEX*16         A( * ), B( * ), C( * ), X( * ), Y( * )```
or equivalently,
```   DOUBLE PRECISION   AMAX, ASUM, DOTC, DOTU, NRM2
DOUBLE COMPLEX     ALPHA, BETA
DOUBLE COMPLEX     A( * ), B( * ), C( * ), X( * ), Y( * )```

except for PZHER and PZHERK where the scalars and are real so that the first declaration above is replaced by:

`   DOUBLE PRECISION   ALPHA, BETA`

and for PCHER2K where is complex and is real, so this is replaced by:

```   COMPLEX*16         ALPHA
DOUBLE PRECISION   BETA```
or equivalently,
```   DOUBLE COMPLEX     ALPHA
DOUBLE PRECISION   BETA```

Jack Dongarra
Thu Aug 3 07:53:00 EDT 1995