SSYR/DSYR/CHER/ZHER |
Name SSYR/DSYR/CHER/ZHER
Purpose These subprograms compute the real symmetric or complex Hermitian
A ← αxx* + A,
where A is an
The structure of A is indicated by the name of the subprogram used:
SSYR | or | DSYR | A is a real symmetric matrix |
CHER | or | ZHER | A is a complex Hermitian matrix |
Refer to “F_SSYR/F_DSYR/F_CSYR/F_ZSYR” on page 392, and
“F_CHER/F_ZHER” on page 344 for equivalent BLAS Standard subprograms.
Matrix Because either triangle of A can be obtained from the other, these subprograms
Storage reference and apply the update to only one triangle of A. You can supply either the upper or the lower triangle of A, in a
Usage VECLIB:
CHARACTER*1 | uplo |
INTEGER*4 | n, lda, incx |
REAL*4 | alpha, a(lda, n), x(lenx) |
CALL SSYR(uplo, n, alpha, x, incx, a, lda)
CHARACTER*1 | uplo |
INTEGER*4 | n, lda, incx |
REAL*8 | alpha, a(lda, n), x(lenx) |
CALL DSYR(uplo, n, alpha, x, incx, a, lda)
CHARACTER*1 | uplo |
INTEGER*4 | n, lda, incx |
REAL*4 | alpha |
COMPLEX*8 | a(lda, n), x(lenx) |
CALL CHER(uplo, n, alpha, x, incx, a, lda)
Chapter 3 Basic Matrix Operations 275