Performs a rank-1 update of a general matrix.
FORTRAN 77:
call sger(m, n, alpha, x, incx, y, incy, a, lda)
call dger(m, n, alpha, x, incx, y, incy, a, lda)
Fortran 95:
call ger(a, x, y [,alpha])
The FORTRAN 77 interfaces are specified in the mkl_blas.fi include file, the Fortran 95 interfaces are specified in the blas.f90 include file, and the C interfaces are specified in the mkl_blas.h include file.
The ?ger routines perform a matrix-vector operation defined as A := alpha*x*y'+ A,
where:
alpha is a scalar,
x is an m-element vector,
y is an n-element vector,
A is an m-by-n general matrix.
INTEGER. Specifies the number of rows of the matrix A.
The value of m must be at least zero.
INTEGER. Specifies the number of columns of the matrix A.
The value of n must be at least zero.
REAL for sger
DOUBLE PRECISION for dger
Specifies the scalar alpha.
REAL for sger
DOUBLE PRECISION for dger
Array, DIMENSION at least (1 + (m - 1)*abs(incx)). Before entry, the incremented array x must contain the m-element vector x.
INTEGER. Specifies the increment for the elements of x.
The value of incx must not be zero.
REAL for sger
DOUBLE PRECISION for dger
Array, DIMENSION at least (1 + (n - 1)*abs(incy)). Before entry, the incremented array y must contain the n-element vector y.
INTEGER. Specifies the increment for the elements of y.
The value of incy must not be zero.
REAL for sger
DOUBLE PRECISION for dger
Array, DIMENSION (lda, n).
Before entry, the leading m-by-n part of the array a must contain the matrix of coefficients.
INTEGER. Specifies the leading dimension of a as declared in the calling (sub)program. The value of lda must be at least max(1, m).
Routines in Fortran 95 interface have fewer arguments in the calling sequence than their FORTRAN 77 counterparts. For general conventions applied to skip redundant or reconstructible arguments, see Fortran 95 Interface Conventions.
Specific details for the routine ger interface are the following:
Holds the matrix A of size (m,n).
Holds the vector with the number of elements m.
Holds the vector with the number of elements n.
The default value is 1.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.