SGER/DGER/CGERC/CGERU/ZGERC/ZGERU |
Notes These subprograms conform to specifications of the Level 2 BLAS.
If an error in the arguments is detected, the subprograms call error handler XERBLA, which writes an error message onto the standard error file and terminates execution. The standard version of XERBLA (refer to the end of this chapter) can be replaced with a
m < 0 n < 0
lda < max(m,1) incx = 0
incy = 0
Example 1 Apply a REAL*4
INTEGER*4 | M,N,LDA,INCX,INCY | |
REAL*4 | ALPHA,A(10,10),X(10),Y(10) | |
M = | 6 |
|
N = | 9 |
|
ALPHA = 1.0
LDA = 10
INCX = 1
INCY = 1
CALL SGER (M,N,ALPHA,X,INCX,Y,INCY,A,LDA)
Example 2 Apply a COMPLEX*8 conjugated
INTEGER*4 M,N,LDA
COMPLEX*8 A(10,10),X(10),Y(10)
M = 6
N = 9
LDA = 10
CALL CGERC
240HP MLIB User’s Guide