1ZLA_HEAMV(1)LAPACK routine (version 3.2) ZLA_HEAMV(1)
2
3
4
6 ZLA_HEAMV - performs the matrix-vector operation y :=
7 alpha*abs(A)*abs(x) + beta*abs(y),
8
10 SUBROUTINE ZLA_HEAMV( UPLO, N, ALPHA, A, LDA, X, INCX, BETA, Y, INCY )
11
12 IMPLICIT NONE
13
14 DOUBLE PRECISION ALPHA, BETA
15
16 INTEGER INCX, INCY, LDA, N, UPLO
17
18 COMPLEX*16 A( LDA, * ), X( * )
19
20 DOUBLE PRECISION Y( * )
21
23 ZLA_SYAMV performs the matrix-vector operation where alpha and beta
24 are scalars, x and y are vectors and A is an n by n symmetric matrix.
25 This function is primarily used in calculating error bounds. To pro‐
26 tect against underflow during evaluation, components in the resulting
27 vector are perturbed away from zero by (N+1) times the underflow
28 threshold. To prevent unnecessarily large errors for block-structure
29 embedded in general matrices,
30 "symbolically" zero components are not perturbed. A zero entry is con‐
31 sidered "symbolic" if all multiplications involved in computing that
32 entry have at least one zero multiplicand.
33
35 UPLO - INTEGER
36 On entry, UPLO specifies whether the upper or lower triangular
37 part of the array A is to be referenced as follows: UPLO =
38 BLAS_UPPER Only the upper triangular part of A is to be refer‐
39 enced. UPLO = BLAS_LOWER Only the lower triangular part of A
40 is to be referenced. Unchanged on exit.
41
42 N - INTEGER.
43 On entry, N specifies the number of columns of the matrix A. N
44 must be at least zero. Unchanged on exit.
45
46 ALPHA - DOUBLE PRECISION .
47 On entry, ALPHA specifies the scalar alpha. Unchanged on exit.
48
49 A - COMPLEX*16 array of DIMENSION ( LDA, n ).
50 Before entry, the leading m by n part of the array A must con‐
51 tain the matrix of coefficients. Unchanged on exit.
52
53 LDA - INTEGER.
54 On entry, LDA specifies the first dimension of A as declared in
55 the calling (sub) program. LDA must be at least max( 1, n ).
56 Unchanged on exit.
57
58 X - COMPLEX*16 array of DIMENSION at least
59 ( 1 + ( n - 1 )*abs( INCX ) ) Before entry, the incremented
60 array X must contain the vector x. Unchanged on exit.
61
62 INCX - INTEGER.
63 On entry, INCX specifies the increment for the elements of X.
64 INCX must not be zero. Unchanged on exit.
65
66 BETA - DOUBLE PRECISION .
67 On entry, BETA specifies the scalar beta. When BETA is supplied
68 as zero then Y need not be set on input. Unchanged on exit.
69
70 Y - DOUBLE PRECISION array of DIMENSION at least
71 ( 1 + ( n - 1 )*abs( INCY ) ) Before entry with BETA non-zero,
72 the incremented array Y must contain the vector y. On exit, Y is
73 overwritten by the updated vector y.
74
75 INCY - INTEGER.
76 On entry, INCY specifies the increment for the elements of Y.
77 INCY must not be zero. Unchanged on exit.
78
80 Level 2 Blas routine.
81 -- Written on 22-October-1986.
82 Jack Dongarra, Argonne National Lab.
83 Jeremy Du Croz, Nag Central Office.
84 Sven Hammarling, Nag Central Office.
85 Richard Hanson, Sandia National Labs.
86 -- Modified for the absolute-value product, April 2006
87 Jason Riedy, UC Berkeley
88
89
90
91 LAPACK routine (version 3.2) November 2008 ZLA_HEAMV(1)