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