F06ZAF (ZGEMM) performs one of the matrix-matrix operations
where
,
and
are complex matrices, and
and
are complex scalars;
is always
by
.
SUBROUTINE F06ZAF ( |
TRANSA, TRANSB, M, N, K, ALPHA, A, LDA, B, LDB, BETA, C, LDC) |
INTEGER |
M, N, K, LDA, LDB, LDC |
COMPLEX (KIND=nag_wp) |
ALPHA, A(LDA,*), B(LDB,*), BETA, C(LDC,*) |
CHARACTER(1) |
TRANSA, TRANSB |
|
None.
None.
- 1: – CHARACTER(1)Input
-
On entry: specifies whether the operation involves
,
or
.
- The operation involves .
- The operation involves .
- The operation involves .
Constraint:
, or .
- 2: – CHARACTER(1)Input
-
On entry: specifies whether the operation involves
,
or
.
- The operation involves .
- The operation involves .
- The operation involves .
Constraint:
, or .
- 3: – INTEGERInput
-
On entry: , the number of rows of the matrix ; the number of rows of if , or the number of columns of if or .
Constraint:
.
- 4: – INTEGERInput
-
On entry: , the number of columns of the matrix ; the number of columns of if , or the number of rows of if or .
Constraint:
.
- 5: – INTEGERInput
-
On entry: , the number of columns of if , or the number of rows of if or ; the number of rows of if , or the number of columns of if or .
Constraint:
.
- 6: – COMPLEX (KIND=nag_wp)Input
-
On entry: the scalar .
- 7: – COMPLEX (KIND=nag_wp) arrayInput
-
Note: the second dimension of the array
A
must be at least
if
and at least
if
or
.
On entry: the matrix ; is by if , or by if or .
- 8: – INTEGERInput
-
On entry: the first dimension of the array
A as declared in the (sub)program from which F06ZAF (ZGEMM) is called.
Constraints:
- if , ;
- if or , .
- 9: – COMPLEX (KIND=nag_wp) arrayInput
-
Note: the second dimension of the array
B
must be at least
if
and at least
if
or
.
On entry: the matrix ; is by if , or by if or .
- 10: – INTEGERInput
-
On entry: the first dimension of the array
B as declared in the (sub)program from which F06ZAF (ZGEMM) is called.
Constraints:
- if , ;
- if or , .
- 11: – COMPLEX (KIND=nag_wp)Input
-
On entry: the scalar .
- 12: – COMPLEX (KIND=nag_wp) arrayInput/Output
-
Note: the second dimension of the array
C
must be at least
.
On entry: the
by
matrix
.
If
,
C need not be set.
On exit: the updated matrix .
- 13: – INTEGERInput
-
On entry: the first dimension of the array
C as declared in the (sub)program from which F06ZAF (ZGEMM) is called.
Constraint:
.
None.
Not applicable.
Not applicable.
None.
None.