Notes All subroutines accept lowercase letters for the uplo argument. A are assumed to be zero, so you do not have to set these values. These subroutines perform the computation described in the two sections below. If n or alpha is zero, no computation is performed. For SSPR2, SSYR2, SSLR2, CHPR2, and CHER2, intermediate results are accumulated in long precision.
T is the transpose of vector x .
This example shows vectors x and y with positive strides and a real symmetric matrix A of order 3, stored in lower-packed storage mode. This example shows vector x and y having strides of opposite signs. The real symmetric matrix A of order 3 is stored in upper-packed storage mode. It uses the same input matrix A as in Example 1. This example shows vector x and y with positive stride and a complex Hermitian matrix A of order 3, stored in lower-packed storage mode.