PLASMA
Parallel Linear Algebra Software for Multicore Architectures

\( C = \alpha \;op(A) \;op(B) + \beta C \) More...

Functions

 __attribute__ ((weak))
 

Detailed Description

\( C = \alpha \;op(A) \;op(B) + \beta C \)

Function Documentation

__attribute__ ( (weak)  )

Performs one of the matrix-matrix operations

\[ C = \alpha [op( A )\times op( B )] + \beta C, \]

where op( X ) is one of:

\[ op( X ) = X, \]

\[ op( X ) = X^T, \]

\[ op( X ) = X^H, \]

alpha and beta are scalars, and A, B and C are matrices, with op( A ) an m-by-k matrix, op( B ) a k-by-n matrix and C an m-by-n matrix.

Parameters
[in]transa
  • PlasmaNoTrans: A is not transposed,
  • PlasmaTrans: A is transposed,
  • PlasmaConjTrans: A is conjugate transposed.
[in]transb
  • PlasmaNoTrans: B is not transposed,
  • PlasmaTrans: B is transposed,
  • PlasmaConjTrans: B is conjugate transposed.
[in]mThe number of rows of the matrix op( A ) and of the matrix C. m >= 0.
[in]nThe number of columns of the matrix op( B ) and of the matrix C. n >= 0.
[in]kThe number of columns of the matrix op( A ) and the number of rows of the matrix op( B ). k >= 0.
[in]alphaThe scalar alpha.
[in]AAn lda-by-ka matrix, where ka is k when transa = PlasmaNoTrans, and is m otherwise.
[in]ldaThe leading dimension of the array A. When transa = PlasmaNoTrans, lda >= max(1,m), otherwise, lda >= max(1,k).
[in]BAn ldb-by-kb matrix, where kb is n when transb = PlasmaNoTrans, and is k otherwise.
[in]ldbThe leading dimension of the array B. When transb = PlasmaNoTrans, ldb >= max(1,k), otherwise, ldb >= max(1,n).
[in]betaThe scalar beta.
[in,out]CAn ldc-by-n matrix. On exit, the array is overwritten by the m-by-n matrix ( alpha*op( A )*op( B ) + beta*C ).
[in]ldcThe leading dimension of the array C. ldc >= max(1,m).

Performs one of the matrix-matrix operations

\[ C = \alpha [op( A )\times op( B )] + \beta C, \]

where op( X ) is one of:

\[ op( X ) = X, \]

\[ op( X ) = X^T, \]

\[ op( X ) = X^T, \]

alpha and beta are scalars, and A, B and C are matrices, with op( A ) an m-by-k matrix, op( B ) a k-by-n matrix and C an m-by-n matrix.

Parameters
[in]transa
  • PlasmaNoTrans: A is not transposed,
  • PlasmaTrans: A is transposed,
  • PlasmaConjTrans: A is conjugate transposed.
[in]transb
  • PlasmaNoTrans: B is not transposed,
  • PlasmaTrans: B is transposed,
  • PlasmaConjTrans: B is conjugate transposed.
[in]mThe number of rows of the matrix op( A ) and of the matrix C. m >= 0.
[in]nThe number of columns of the matrix op( B ) and of the matrix C. n >= 0.
[in]kThe number of columns of the matrix op( A ) and the number of rows of the matrix op( B ). k >= 0.
[in]alphaThe scalar alpha.
[in]AAn lda-by-ka matrix, where ka is k when transa = PlasmaNoTrans, and is m otherwise.
[in]ldaThe leading dimension of the array A. When transa = PlasmaNoTrans, lda >= max(1,m), otherwise, lda >= max(1,k).
[in]BAn ldb-by-kb matrix, where kb is n when transb = PlasmaNoTrans, and is k otherwise.
[in]ldbThe leading dimension of the array B. When transb = PlasmaNoTrans, ldb >= max(1,k), otherwise, ldb >= max(1,n).
[in]betaThe scalar beta.
[in,out]CAn ldc-by-n matrix. On exit, the array is overwritten by the m-by-n matrix ( alpha*op( A )*op( B ) + beta*C ).
[in]ldcThe leading dimension of the array C. ldc >= max(1,m).