SSPR2/DSPR2/CHPR2/ZHPR2 |
Name SSPR2/DSPR2/CHPR2/ZHPR2
Purpose These subprograms compute the real symmetric or complex Hermitian
A ← αxy* + α yx* + A,
where A is an
The structure of A is indicated by the name of the subprogram used:
SSPR2 | or | DSPR2 | A is a real symmetric matrix |
CHPR2 | or | ZHPR2 | A is a complex Hermitian matrix |
Refer to “F_SSPR2/F_DSPR2/F_CSPR2/F_ZSPR2” on page 386 and
“F_CHPR2/F_ZHPR2” on page 352 for a description of the equivalent BLAS Standard subprograms.
Matrix Because either triangle of A can be obtained from the other, you only need to
Storage provide one triangle of A, either the upper or the lower triangle. Compared to storing the entire matrix, you save memory by supplying that triangle stored
The following examples illustrate the packed storage of symmetric or
Hermitian matrices.
Chapter 3 Basic Matrix Operations 259