1ZHEMV(1) BLAS routine ZHEMV(1)
2
3
4
6 ZHEMV - the matrix-vector operation y := alpha*A*x + beta*y,
7
9 SUBROUTINE ZHEMV(UPLO,N,ALPHA,A,LDA,X,INCX,BETA,Y,INCY)
10
11 DOUBLE COMPLEX
12 ALPHA,BETA
13
14 INTEGER INCX,INCY,LDA,N
15
16 CHARACTER UPLO
17
18 DOUBLE COMPLEX
19 A(LDA,*),X(*),Y(*)
20
22 ZHEMV 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 hermitian 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 - COMPLEX*16 .
46 On entry, ALPHA specifies the scalar alpha. Unchanged on exit.
47
48 A - COMPLEX*16 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 hermitian 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 hermitian matrix
55 and the strictly upper triangular part of A is not referenced.
56 Note that the imaginary parts of the diagonal elements need not
57 be set and are assumed to be zero. Unchanged on exit.
58
59 LDA - INTEGER.
60 On entry, LDA specifies the first dimension of A as declared in
61 the calling (sub) program. LDA must be at least max( 1, n ).
62 Unchanged on exit.
63
64 X - COMPLEX*16 array of dimension at least
65 ( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented
66 array X must contain the n element vector x. Unchanged on exit.
67
68 INCX - INTEGER.
69 On entry, INCX specifies the increment for the elements of X.
70 INCX must not be zero. Unchanged on exit.
71
72 BETA - COMPLEX*16 .
73 On entry, BETA specifies the scalar beta. When BETA is supplied
74 as zero then Y need not be set on input. Unchanged on exit.
75
76 Y - COMPLEX*16 array of dimension at least
77 ( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented
78 array Y must contain the n element vector y. On exit, Y is over‐
79 written by the updated vector y.
80
81 INCY - INTEGER.
82 On entry, INCY specifies the increment for the elements of Y.
83 INCY must not be zero. Unchanged on exit.
84
85 Level 2 Blas routine.
86
87 -- Written on 22-October-1986. Jack Dongarra, Argonne National
88 Lab. Jeremy Du Croz, Nag Central Office. Sven Hammarling, Nag
89 Central Office. Richard Hanson, Sandia National Labs.
90
91
92
93BLAS routine November 2006 ZHEMV(1)