SGEMM/DGEMM/CGEMM/ZGEMM |
Name SGEMM/DGEMM/CGEMM/ZGEMM
Purpose These subprograms compute the
an
C ← αAB + βC, | C | ← α | T | B | + β , | C | ← α | ∗ | + β , |
|
| A | C |
| A B | C | |||
C ← αABT + βC, | C ← αATBT + βC, | C ← αA∗BT + βC, | |||||||
C ← αAB∗ + βC, | C ← αATB∗ + βC, | C ← αA∗B∗ + βC. |
Refer to “F_SGEMM/F_DGEMM/F_CGEMM/F_ZGEMM” on page 362 for a description of the BLAS Standard subprograms for general
Usage | VECLIB: |
|
| CHARACTER*1 | transa, transb |
| INTEGER*4 | m, n, k, lda, ldb, ldc |
| REAL*4 | alpha, beta, a(lda, *), b(ldb, *), c(ldc, n) |
CALL SGEMM(transa, transb, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc)
CHARACTER*1 | transa, transb |
INTEGER*4 | m, n, k, lda, ldb, ldc |
REAL*8 | alpha, beta, a(lda, *), b(ldb, *), c(ldc, n) |
CALL DGEMM(transa, transb, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc)
CHARACTER*1 | transa, transb |
INTEGER*4 | m, n, k, lda, ldb, ldc |
COMPLEX*8 | alpha, beta, a(lda, *), b(ldb, *), c(ldc, n) |
CALL CGEMM(transa, transb, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc)
CHARACTER*1 | transa, transb |
INTEGER*4 | m, n, k, lda, ldb, ldc |
COMPLEX*16 | alpha, beta, a(lda, *), b(ldb, *), c(ldc, n) |
CALL ZGEMM(transa, transb, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc)
222HP MLIB User’s Guide