|
PLASMA
2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
| int CORE_ztradd | ( | PLASMA_enum | uplo, |
| PLASMA_enum | trans, | ||
| int | M, | ||
| int | N, | ||
| PLASMA_Complex64_t | alpha, | ||
| const PLASMA_Complex64_t * | A, | ||
| int | LDA, | ||
| PLASMA_Complex64_t | beta, | ||
| PLASMA_Complex64_t * | B, | ||
| int | LDB | ||
| ) |
CORE_ztradd adds two matrices together as in PBLAS pztradd.
B <- alpha * op(A) + beta * B,
where op(X) = X, X', or conj(X')
| [in] | uplo | Specifies the shape of A and B matrices: = PlasmaUpperLower: A and B are general matrices. = PlasmaUpper: op(A) and B are upper trapezoidal matrices. = PlasmaLower: op(A) and B are lower trapezoidal matrices. |
| [in] | trans | Specifies whether the matrix A is non-transposed, transposed, or conjugate transposed = PlasmaNoTrans: op(A) = A = PlasmaTrans: op(A) = A' = PlasmaConjTrans: op(A) = conj(A') |
| [in] | M | Number of rows of the matrices A and B. |
| [in] | N | Number of columns of the matrices A and B. |
| [in] | alpha | Scalar factor of A. |
| [in] | A | Matrix of size LDA-by-N. |
| [in] | LDA | Leading dimension of the array A. LDA >= max(1,M) |
| [in] | beta | Scalar factor of B. |
| [in,out] | B | Matrix of size LDB-by-N. On exit, B = alpha * op(A) + beta * B |
| [in] | LDB | Leading dimension of the array B. LDB >= max(1,M) |
| PLASMA_SUCCESS | successful exit |
| <0 | if -i, the i-th argument had an illegal value |
PlasmaLower
PlasmaUpper