|
◆ Zhemm()
Sub Zhemm |
( |
Side As |
String, |
|
|
Uplo As |
String, |
|
|
M As |
Long, |
|
|
N As |
Long, |
|
|
Alpha As |
Complex, |
|
|
A() As |
Complex, |
|
|
B() As |
Complex, |
|
|
Beta As |
Complex, |
|
|
C() As |
Complex, |
|
|
Optional Info As |
Long |
|
) |
| |
C <- αAB + βC or C <- αBA + βC (Hermitian matrix) (BLAS 3)
- Purpose
- This routine performs one of the matrix-matrix operations
C <- αAB + βC or C <- αBA + βC
where α and β are scalars, A is a Hermitian matrix, B and C are m x n matrices.
- Parameters
-
[in] | Side | Specifies whether the Hermitian matrix A appears on the left or right in the operation as follows:
= "L": C <- αAB + βC.
= "R": C <- αBA + βC. |
[in] | Uplo | Specifies whether the upper or lower triangular part of the Hermitian matrix A is to be referenced as follows:
= "U": Only the upper triangular part of the Hermitian matrix is to be referenced.
= "L": Only the lower triangular part of the Hermitian matrix is to be referenced. |
[in] | M | Number of rows of the matrix C. (M >= 0) (If M = 0, returns without computation) |
[in] | N | Number of columns of the matrix C. (N >= 0) (If N = 0, returns without computation) |
[in] | Alpha | Scalar α. |
[in] | A() | Array A(LA1 - 1, LA2 - 1) (LA1 >= M, LA2 >= M (if Side = "L"), LA1 >= N, LA2 >= N (if Side = "R"))
M x M Hermitian matrix A when Side = "L", or N x N Hermitian matrix A when Side = "R". Only the upper or lower triangular part is to be referenced in accordance with Uplo. |
[in] | B() | Array B(LB1 - 1, LB2 - 1) (LB1 >= M, LB2 >= N)
M x N matrix B. |
[in] | Beta | Scalar β. When β is supplied as zero then C need not be set on input. |
[in,out] | C() | Array C(LC1 - 1, LC2 - 1) (LC1 >= M, LC2 >= N)
[in] M x N matrix C.
[out] M x N matrix αAB + βC (if Side = "L") or αBA + βC (if Side = "R"). |
[out] | Info | (Optional)
= 0: Successful exit.
= -1: The argument Side had an illegal value. (Side <> "L" nor "R")
= -2: The argument Uplo had an illegal value. (Uplo <> "U" nor "L")
= -3: The argument M had an illegal value. (M < 0)
= -4: The argument N had an illegal value. (N < 0)
= -6: The argument A() is invalid.
= -7: The argument B() is invalid.
= -9: The argument C() is invalid. |
- Reference
- BLAS
|