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

NAME

6       ZGERU - performs the rank 1 operation   A := alpha*x*y' + A,
7

SYNOPSIS

9       SUBROUTINE ZGERU(M,N,ALPHA,X,INCX,Y,INCY,A,LDA)
10
11           DOUBLE                                      COMPLEX ALPHA
12
13           INTEGER                                     INCX,INCY,LDA,M,N
14
15           DOUBLE                                      COMPLEX
16                                                       A(LDA,*),X(*),Y(*)
17

PURPOSE

19       ZGERU  performs the rank 1 operation
20
21       where alpha is a scalar, x is an m element vector, y is  an  n  element
22       vector and A is an m by n matrix.
23
24

ARGUMENTS

26       M      - INTEGER.
27              On  entry,  M  specifies  the number of rows of the matrix A.  M
28              must be at least zero.  Unchanged on exit.
29
30       N      - INTEGER.
31              On entry, N specifies the number of columns of the matrix A.   N
32              must be at least zero.  Unchanged on exit.
33
34       ALPHA  - COMPLEX*16      .
35              On entry, ALPHA specifies the scalar alpha.  Unchanged on exit.
36
37       X      - COMPLEX*16       array of dimension at least
38              (  1  +  ( m - 1 )*abs( INCX ) ).  Before entry, the incremented
39              array X must contain the m element vector x.  Unchanged on exit.
40
41       INCX   - INTEGER.
42              On entry, INCX specifies the increment for the  elements  of  X.
43              INCX must not be zero.  Unchanged on exit.
44
45       Y      - COMPLEX*16       array of dimension at least
46              (  1  +  ( n - 1 )*abs( INCY ) ).  Before entry, the incremented
47              array Y must contain the n element vector y.  Unchanged on exit.
48
49       INCY   - INTEGER.
50              On entry, INCY specifies the increment for the  elements  of  Y.
51              INCY must not be zero.  Unchanged on exit.
52
53       A      - COMPLEX*16       array of DIMENSION ( LDA, n ).
54              Before  entry,  the leading m by n part of the array A must con‐
55              tain the matrix of coefficients. On exit, A  is  overwritten  by
56              the updated matrix.
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,  m  ).
61              Unchanged on exit.
62

FURTHER DETAILS

64       Level 2 Blas routine.
65
66       -- Written on 22-October-1986.
67          Jack Dongarra, Argonne National Lab.
68          Jeremy Du Croz, Nag Central Office.
69          Sven Hammarling, Nag Central Office.
70          Richard Hanson, Sandia National Labs.
71
72
73
74
75BLAS routine                     November 2008                        ZGERU(1)
Impressum