1ZSYR(1) LAPACK auxiliary routine (version 3.2) ZSYR(1)
2
3
4
6 ZSYR - performs the symmetric rank 1 operation A := alpha*x*( x' ) +
7 A,
8
10 SUBROUTINE ZSYR( UPLO, N, ALPHA, X, INCX, A, LDA )
11
12 CHARACTER UPLO
13
14 INTEGER INCX, LDA, N
15
16 COMPLEX*16 ALPHA
17
18 COMPLEX*16 A( LDA, * ), X( * )
19
21 ZSYR performs the symmetric rank 1 operation where alpha is a complex
22 scalar, x is an n element vector and A is an n by n symmetric matrix.
23
25 UPLO (input) CHARACTER*1
26 On entry, UPLO specifies whether the upper or lower triangular
27 part of the array A is to be referenced as follows: UPLO = 'U'
28 or 'u' Only the upper triangular part of A is to be refer‐
29 enced. UPLO = 'L' or 'l' Only the lower triangular part of
30 A is to be referenced. Unchanged on exit.
31
32 N (input) INTEGER
33 On entry, N specifies the order of the matrix A. N must be at
34 least zero. Unchanged on exit.
35
36 ALPHA (input) COMPLEX*16
37 On entry, ALPHA specifies the scalar alpha. Unchanged on
38 exit.
39
40 X (input) COMPLEX*16 array, dimension at least
41 ( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented
42 array X must contain the N- element vector x. Unchanged on
43 exit.
44
45 INCX (input) INTEGER
46 On entry, INCX specifies the increment for the elements of X.
47 INCX must not be zero. Unchanged on exit.
48
49 A (input/output) COMPLEX*16 array, dimension ( LDA, N )
50 Before entry, with UPLO = 'U' or 'u', the leading n by n
51 upper triangular part of the array A must contain the upper
52 triangular part of the symmetric matrix and the strictly lower
53 triangular part of A is not referenced. On exit, the upper
54 triangular part of the array A is overwritten by the upper
55 triangular part of the updated matrix. Before entry, with
56 UPLO = 'L' or 'l', the leading n by n lower triangular part of
57 the array A must contain the lower triangular part of the sym‐
58 metric matrix and the strictly upper triangular part of A is
59 not referenced. On exit, the lower triangular part of the
60 array A is overwritten by the lower triangular part of the
61 updated matrix.
62
63 LDA (input) INTEGER
64 On entry, LDA specifies the first dimension of A as declared
65 in the calling (sub) program. LDA must be at least max( 1, N
66 ). Unchanged on exit.
67
68
69
70 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 ZSYR(1)