1CHPMV(1)                         BLAS routine                         CHPMV(1)
2
3
4

NAME

6       CHPMV - performs the matrix-vector operation   y := alpha*A*x + beta*y,
7

SYNOPSIS

9       SUBROUTINE CHPMV(UPLO,N,ALPHA,AP,X,INCX,BETA,Y,INCY)
10
11           COMPLEX                                          ALPHA,BETA
12
13           INTEGER                                          INCX,INCY,N
14
15           CHARACTER                                        UPLO
16
17           COMPLEX                                          AP(*),X(*),Y(*)
18

PURPOSE

20       CHPMV  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 hermitian matrix, supplied in packed form.
24
25

ARGUMENTS

27       UPLO   - CHARACTER*1.
28              On entry, UPLO specifies whether the upper or  lower  triangular
29              part  of the matrix A is supplied in the packed array AP as fol‐
30              lows:
31
32              UPLO = 'U' or 'u'   The upper triangular part of A  is  supplied
33              in AP.
34
35              UPLO  =  'L' or 'l'   The lower triangular part of A is supplied
36              in AP.
37
38              Unchanged on exit.
39
40       N      - INTEGER.
41              On entry, N specifies the order of the matrix A.  N must  be  at
42              least zero.  Unchanged on exit.
43
44       ALPHA  - COMPLEX         .
45              On entry, ALPHA specifies the scalar alpha.  Unchanged on exit.
46
47       AP     - COMPLEX          array of DIMENSION at least
48              ( ( n*( n + 1 ) )/2 ).  Before entry with UPLO = 'U' or 'u', the
49              array AP must contain the upper triangular part of the hermitian
50              matrix  packed  sequentially,  column by column, so that AP( 1 )
51              contains a( 1, 1 ), AP( 2 ) and AP( 3 ) contain a( 1, 2 ) and a(
52              2, 2 ) respectively, and so on.  Before entry with UPLO = 'L' or
53              'l', the array AP must contain the lower triangular part of  the
54              hermitian  matrix packed sequentially, column by column, so that
55              AP( 1 ) contains a( 1, 1 ), AP( 2 ) and AP( 3 ) contain a( 2,  1
56              )  and  a( 3, 1 ) respectively, and so on.  Note that the imagi‐
57              nary parts of the diagonal elements need  not  be  set  and  are
58              assumed to be zero.  Unchanged on exit.
59
60       X      - COMPLEX          array of dimension at least
61              (  1  +  ( n - 1 )*abs( INCX ) ).  Before entry, the incremented
62              array X must contain the n element vector x.  Unchanged on exit.
63
64       INCX   - INTEGER.
65              On entry, INCX specifies the increment for the  elements  of  X.
66              INCX must not be zero.  Unchanged on exit.
67
68       BETA   - COMPLEX         .
69              On  entry, BETA specifies the scalar beta. When BETA is supplied
70              as zero then Y need not be set on input.  Unchanged on exit.
71
72       Y      - COMPLEX          array of dimension at least
73              ( 1 + ( n - 1 )*abs( INCY ) ).  Before  entry,  the  incremented
74              array Y must contain the n element vector y. On exit, Y is over‐
75              written by the updated vector y.
76
77       INCY   - INTEGER.
78              On entry, INCY specifies the increment for the  elements  of  Y.
79              INCY must not be zero.  Unchanged on exit.
80

FURTHER DETAILS

82       Level 2 Blas routine.
83
84       -- Written on 22-October-1986.
85          Jack Dongarra, Argonne National Lab.
86          Jeremy Du Croz, Nag Central Office.
87          Sven Hammarling, Nag Central Office.
88          Richard Hanson, Sandia National Labs.
89
90
91
92
93BLAS routine                     November 2008                        CHPMV(1)
Impressum