[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 2
CGERC or ZGERC Subroutine
Purpose
Performs the rank 1 operation.
Library
BLAS Library (libblas.a)
FORTRAN Syntax
SUBROUTINE CGERC(M, N, ALPHA, X, INCX,
Y, INCY, A, LDA)
COMPLEX ALPHA
INTEGER INCX,INCY,LDA,M,N
COMPLEX A(LDA,*), X(*), Y(*)
SUBROUTINE ZGERC
COMPLEX*16 ALPHA
INTEGER INCX,INCY,LDA,M,N
COMPLEX*16 A(LDA,*), X(*), Y(*)
Description
The CGERC or ZGERC subroutine performs the rank 1 operation:
A := alpha * x * conjg( 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.
Parameters
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 + (M-1) * 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 + (N-1) * 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 |
Contents |
Glossary |
Home |
Search ]