ger(3F)
SGER, DGER, CGERC, ZGERC, CGERU, ZGERU - Performs rank 1 update of a real or complex general matrix
As shipped in IRIX 6.5.5. Last changed in IRIX 6.5.5.
NAME SGER, DGER, CGERC, ZGERC, CGERU, ZGERU - Performs rank 1 update of a real or complex general matrix SYNOPSIS Real CALL SGER (m, n, alpha, x, incx, y, incy, a, lda) Double precision CALL DGER (m, n, alpha, x, incx, y, incy, a, lda) Complex CALL CGERC (m, n, alpha, x, incx, y, incy, a, lda) CALL CGERU (m, n, alpha, x, incx, y, incy, a, lda) Double complex CALL ZGERC (m, n, alpha, x, incx, y, incy, a, lda) CALL ZGERU (m, n, alpha, x, incx, y, incy, a, lda) IMPLEMENTATION IRIX systems DESCRIPTION SGER and DGER perform a rank 1 update of a real general matrix. CGERC and ZGERC perform a conjugated rank 1 update of a complex general matrix. CGERU and ZGERU perform an unconjugated rank 1 update of a complex general matrix. SGER, DGER, CGERU, and ZGERU perform the rank 1 operation: T A <- alpha xy + A T where y is the transpose of y, alpha is a scalar, x is an m-element vector, y is an n-element vector, and A is an m-by-n matrix. CGERC and ZGERC perform the rank 1 operation: H A <- alpha xy + A H where y is the conjugate transpose of y, alpha is a scalar, x is an m-element vector, y is an n-element vector, and A is an m-by-n matrix. These routines have the following arguments: m Integer. (input) Specifies the number of rows in matrix A. m >= 0. n Integer. (input) Specifies the number of columns in matrix A. n >= 0. alpha Scalar alpha. (input) SGER: Real. DGER: Double precision. CGERC, CGERU: Complex. ZGERC, ZGERU: Double complex. x Array of dimension 1+(m-1) * |incx|. (input) SGER: Real array. DGER: Double precision array. CGERC, CGERU: Complex array. ZGERC, ZGERU: Double complex array. Contains vector x. incx Integer. (input) Specifies the increment for the elements of x. incx must not be 0. y Array of dimension 1+(n-1) * |incy|. (input) SGER: Real array. DGER: Double precision array. CGERC, CGERU: Complex array. ZGERC, ZGERU: Double complex array. Contains vector y. incy Integer. (input) Specifies the increment for the elements of y. incy must not be 0. a Array of dimension (lda,n). (input and output) SGER: Real array. DGER: Double precision array. CGERC, CGERU: Complex array. ZGERC, ZGERU: Double complex array. Before entry, the leading m-by-n part of array a must contain the matrix of coefficients. On exit, the updated matrix overwrites array a. lda Integer. (input) Specifies the first dimension of a as declared in the calling program. lda >= MAX(1,m). NOTES SGER, DGER, CGERC, ZGERC, CGERU, and ZGERU are Level 2 Basic Linear Algebra Subprograms (Level 2 BLAS). When working backward (incx < 0 or incy < 0), these routines start at the end of the vector and move backward, as follows: x(1-incx * (n-1)), x(1-incx * (n-2)) , ..., x(1) y(1-incy * (n-1)), y(1-incy * (n-2)) , ..., y(1) SEE ALSO This man page is available only online.