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

CORE_sgeadd adds two matrices together as in PBLAS psgeadd.

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

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

Parameters
[in]transSpecifies whether the matrix A is non-transposed, transposed, or ugate transposed = PlasmaNoTrans: op(A) = A = PlasmaTrans: op(A) = A' = PlasmaTrans: op(A) = (A')
[in]MNumber of rows of the matrices op(A) and B.
[in]NNumber of columns of the matrices op(A) and B.
[in]alphaScalar factor of A.
[in]AMatrix of size LDA-by-N, if trans = PlasmaNoTrans, LDA-by-M otherwise.
[in]LDALeading dimension of the array A. LDA >= max(1,k), with k=M, if trans = PlasmaNoTrans, and k=N otherwise.
[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