1CGERC(1) BLAS routine CGERC(1)
2
3
4
6 CGERC - the rank 1 operation A := alpha*x*conjg( y' ) + A,
7
9 SUBROUTINE CGERC(M,N,ALPHA,X,INCX,Y,INCY,A,LDA)
10
11 COMPLEX ALPHA
12
13 INTEGER INCX,INCY,LDA,M,N
14
15 COMPLEX A(LDA,*),X(*),Y(*)
16
18 CGERC performs the rank 1 operation
19
20 where alpha is a scalar, x is an m element vector, y is an n element
21 vector and A is an m by n matrix.
22
23
25 M - INTEGER.
26 On entry, M specifies the number of rows of the matrix A. M
27 must be at least zero. Unchanged on exit.
28
29 N - INTEGER.
30 On entry, N specifies the number of columns of the matrix A. N
31 must be at least zero. Unchanged on exit.
32
33 ALPHA - COMPLEX .
34 On entry, ALPHA specifies the scalar alpha. Unchanged on exit.
35
36 X - COMPLEX array of dimension at least
37 ( 1 + ( m - 1 )*abs( INCX ) ). Before entry, the incremented
38 array X must contain the m element vector x. Unchanged on exit.
39
40 INCX - INTEGER.
41 On entry, INCX specifies the increment for the elements of X.
42 INCX must not be zero. Unchanged on exit.
43
44 Y - COMPLEX array of dimension at least
45 ( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented
46 array Y must contain the n element vector y. Unchanged on exit.
47
48 INCY - INTEGER.
49 On entry, INCY specifies the increment for the elements of Y.
50 INCY must not be zero. Unchanged on exit.
51
52 A - COMPLEX array of DIMENSION ( LDA, n ).
53 Before entry, the leading m by n part of the array A must con‐
54 tain the matrix of coefficients. On exit, A is overwritten by
55 the updated matrix.
56
57 LDA - INTEGER.
58 On entry, LDA specifies the first dimension of A as declared in
59 the calling (sub) program. LDA must be at least max( 1, m ).
60 Unchanged on exit.
61
62 Level 2 Blas routine.
63
64 -- Written on 22-October-1986. Jack Dongarra, Argonne National
65 Lab. Jeremy Du Croz, Nag Central Office. Sven Hammarling, Nag
66 Central Office. Richard Hanson, Sandia National Labs.
67
68
69
70BLAS routine November 2006 CGERC(1)