[ Previous  Next  Table of Contents  Index  Library Home 
Legal 
Search ]
Technical Reference: Base Operating System and Extensions , Volume 2
Performs the rank 1
operation.
BLAS Library
(libblas.a)
SUBROUTINE CGERU(M, N, ALPHA, X, INCX,
Y, INCY, A, LDA)
COMPLEX ALPHA
INTEGER INCX, INCY, LDA, M, N
COMPLEX A(LDA,*), X(*), Y(*)
SUBROUTINE ZGERU
COMPLEX*16 ALPHA
INTEGER INCX,INCY,LDA,M,N
COMPLEX*16 A(LDA,*), X(*), Y(*)
The CGERU or
ZGERU subroutine performs the rank 1 operation:
A := alpha
* x * y' + A
where alpha is a scalar, x is an
M element vector, y is an N element vector and
A is an M by N matrix.
M
 On entry, M specifies the number of rows of the matrix
A; M must be at least 0; unchanged on
exit.

N
 On entry, N specifies the number of columns of the matrix
A; N must be at least 0; unchanged on
exit.

ALPHA
 On entry, ALPHA specifies the scalar alpha; unchanged on
exit.

X
 A vector of dimension at least (1 + (M1) *
abs(INCX) ); on entry, the incremented array X must
contain the M element vector x; unchanged on exit.

INCX
 On entry, INCX specifies the increment for the elements of
X; INCX must not be 0; unchanged on
exit.

Y
 A vector of dimension at least (1 + (N1) *
abs(INCY) ); on entry, the incremented array Y must
contain the N element vector y; unchanged on exit.

INCY
 On entry, INCY specifies the increment for the elements of
Y; INCY must not be 0; unchanged on
exit.

A
 An array of dimension ( LDA, N ); on entry,
the leading M by N part of the array A must
contain the matrix of coefficients; on exit, A is overwritten
by the updated matrix.

LDA
 On entry, LDA specifies the first dimension of A as
declared in the calling (sub) program; LDA must be at least
max( 1, M ); unchanged on exit.

[ Previous  Next  Table of Contents  Index 
Library Home 
Legal 
Search ]