1CLA_HEAMV(1)LAPACK routine (version 3.2)                           CLA_HEAMV(1)
2
3
4

NAME

6       CLA_HEAMV    -    performs   the   matrix-vector   operation     y   :=
7       alpha*abs(A)*abs(x) + beta*abs(y),
8

SYNOPSIS

10       SUBROUTINE CLA_HEAMV( UPLO, N, ALPHA, A, LDA, X, INCX, BETA, Y, INCY )
11
12           IMPLICIT          NONE
13
14           REAL              ALPHA, BETA
15
16           INTEGER           INCX, INCY, LDA, N, UPLO
17
18           COMPLEX           A( LDA, * ), X( * )
19
20           REAL              Y( * )
21

PURPOSE

23       CLA_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

ARGUMENTS

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  - REAL            .
47              On entry, ALPHA specifies the scalar alpha.  Unchanged on exit.
48
49       A      - COMPLEX             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             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   - REAL            .
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      - REAL             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

FURTHER DETAILS

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                    CLA_HEAMV(1)
Impressum