PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
int CORE_ctradd ( PLASMA_enum  uplo,
PLASMA_enum  trans,
int  M,
int  N,
PLASMA_Complex32_t  alpha,
const PLASMA_Complex32_t *  A,
int  LDA,
PLASMA_Complex32_t  beta,
PLASMA_Complex32_t *  B,
int  LDB 
)

CORE_ctradd adds two matrices together as in PBLAS pctradd.

 B <- alpha * op(A)  + beta * B,

where op(X) = X, X', or conjf(X')

Parameters
[in]uploSpecifies 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]transSpecifies whether the matrix A is non-transposed, transposed, or conjfugate transposed = PlasmaNoTrans: op(A) = A = PlasmaTrans: op(A) = A' = PlasmaConjTrans: op(A) = conjf(A')
[in]MNumber of rows of the matrices A and B.
[in]NNumber of columns of the matrices A and B.
[in]alphaScalar factor of A.
[in]AMatrix of size LDA-by-N.
[in]LDALeading dimension of the array A. LDA >= max(1,M)
[in]betaScalar factor of B.
[in,out]BMatrix of size LDB-by-N. On exit, B = alpha * op(A) + beta * B
[in]LDBLeading dimension of the array B. LDB >= max(1,M)
Returns
Return values
PLASMA_SUCCESSsuccessful exit
<0if -i, the i-th argument had an illegal value

PlasmaLower

PlasmaUpper