SSYR2/DSYR2/CHER2/ZHER2 |
incy = 0
Actual character arguments in a subroutine call can be longer than the corresponding dummy arguments. Therefore, readability of the CALL statement may be improved by coding the uplo argument as ’LOWER’ for ’L’ or ’UPPER’ for ’U’.
Example 1 Apply a REAL*4 symmetric
CHARACTER*1 UPLO
INTEGER*4 N,LDA,INCX,INCY
REAL*4 ALPHA,A(10,10),X(10),Y(10)
UPLO = ’U’
N = 9
ALPHA = 1.0
LDA = 10
INCX = 1
INCY = 1
CALL SSYR2 (UPLO,N,ALPHA,X,INCX,Y,INCY,A,LDA)
282HP MLIB User’s Guide