|
|
◆ ztrmm()
| void ztrmm |
( |
char |
side, |
|
|
char |
uplo, |
|
|
char |
transa, |
|
|
char |
diag, |
|
|
int |
m, |
|
|
int |
n, |
|
|
doublecomplex |
alpha, |
|
|
int |
lda, |
|
|
doublecomplex |
a[], |
|
|
int |
ldb, |
|
|
doublecomplex |
b[] |
|
) |
| |
B <- αop(A)B or B <- αBop(A) (op(A) = A, AT or AH) (complex triangular matrices) (BLAS 3)
- Purpose
- This routine performs one of the matrix-matrix operations
B <- alpha*op(A)*B or B <- alpha*B*op(A)
where alpha is a scalar, B is an m x n matrix, A is a unit or non-unit, upper or lower triangular matrix and op(A) is one of op(A) = A, A^T or op(A) = A^H
- Parameters
-
| [in] | side | Specifies whether op(A) multiplies B from the left or right as follows:
= 'L': B <- alpha*op(A)*B.
= 'R': B <- alpha*B*op(A). |
| [in] | uplo | Specifies whether the matrix A is upper or lower triangular matrix as follows:
= 'U': A is an upper triangular matrix.
= 'L': A is an lower triangular matrix. |
| [in] | transa | Specifies the form of op(A) to be used in the matrix multiplication as follows:
= 'N': op(A) = A.
= 'T': op(A) = A^T.
= 'C': op(A) = A^H. |
| [in] | diag | Specifies whether or not A is unit triangular as follows:
= 'N': A is not assumed to be unit triangular.
= 'U': A is assumed to be unit triangular. (Diagonal elements of a[][] are not referenced) |
| [in] | m | Number of rows of the matrix B. (m >= 0) (If m = 0, returns without computation) |
| [in] | n | Number of columns of the matrix B. (n >= 0) (If n = 0, returns without computation) |
| [in] | alpha | Scalar alpha. When alpha is zero then A is not referenced and B need not be set before entry. |
| [in] | lda | Leading dimension of the two dimensional array a[][]. (lda >= max(1, m) when side = 'L', lda >= max(1, n) when side = 'R') |
| [in] | a[][] | Array a[la][lda] (la >= m when side = 'L', la >= n when side = 'R')
m x m triangular matrix A when side = 'L', or n x n triangular matrix A when side = 'R'. According to uplo, only the upper or lower triangular part is to be referenced. |
| [in] | ldb | Leading dimension of the two dimensional array b[][]. (ldb >= max(1, m)) |
| [in,out] | b[][] | Array b[lb][ldb] (lb >= n)
[in] m x n matrix B.
[out] m x n output matrix. (= alpha*op(A)*B or alpha*B*op(A)) |
- Reference
- BLAS
|