1SSYMV(1) BLAS routine SSYMV(1)
2
3
4
6 SSYMV - the matrix-vector operation y := alpha*A*x + beta*y,
7
9 SUBROUTINE SSYMV(UPLO,N,ALPHA,A,LDA,X,INCX,BETA,Y,INCY)
10
11 REAL ALPHA,BETA
12
13 INTEGER INCX,INCY,LDA,N
14
15 CHARACTER UPLO
16
17 REAL A(LDA,*),X(*),Y(*)
18
20 SSYMV performs the matrix-vector operation
21
22 where alpha and beta are scalars, x and y are n element vectors and A
23 is an n by n symmetric matrix.
24
25
27 UPLO - CHARACTER*1.
28 On entry, UPLO specifies whether the upper or lower triangular
29 part of the array A is to be referenced as follows:
30
31 UPLO = 'U' or 'u' Only the upper triangular part of A is to be
32 referenced.
33
34 UPLO = 'L' or 'l' Only the lower triangular part of A is to be
35 referenced.
36
37 Unchanged on exit.
38
39 N - INTEGER.
40 On entry, N specifies the order of the matrix A. N must be at
41 least zero. Unchanged on exit.
42
43 ALPHA - REAL .
44 On entry, ALPHA specifies the scalar alpha. Unchanged on exit.
45
46 A - REAL array of DIMENSION ( LDA, n ).
47 Before entry with UPLO = 'U' or 'u', the leading n by n upper
48 triangular part of the array A must contain the upper triangular
49 part of the symmetric matrix and the strictly lower triangular
50 part of A is not referenced. Before entry with UPLO = 'L' or
51 'l', the leading n by n lower triangular part of the array A
52 must contain the lower triangular part of the symmetric matrix
53 and the strictly upper triangular part of A is not referenced.
54 Unchanged on exit.
55
56 LDA - INTEGER.
57 On entry, LDA specifies the first dimension of A as declared in
58 the calling (sub) program. LDA must be at least max( 1, n ).
59 Unchanged on exit.
60
61 X - REAL array of dimension at least
62 ( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented
63 array X must contain the n element vector x. Unchanged on exit.
64
65 INCX - INTEGER.
66 On entry, INCX specifies the increment for the elements of X.
67 INCX must not be zero. Unchanged on exit.
68
69 BETA - REAL .
70 On entry, BETA specifies the scalar beta. When BETA is supplied
71 as zero then Y need not be set on input. Unchanged on exit.
72
73 Y - REAL array of dimension at least
74 ( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented
75 array Y must contain the n element vector y. On exit, Y is over‐
76 written by the updated vector y.
77
78 INCY - INTEGER.
79 On entry, INCY specifies the increment for the elements of Y.
80 INCY must not be zero. Unchanged on exit.
81
82 Level 2 Blas routine.
83
84 -- Written on 22-October-1986. Jack Dongarra, Argonne National
85 Lab. Jeremy Du Croz, Nag Central Office. Sven Hammarling, Nag
86 Central Office. Richard Hanson, Sandia National Labs.
87
88
89
90BLAS routine November 2006 SSYMV(1)