PLASMA
Parallel Linear Algebra Software for Multicore Architectures
|
\( C = \alpha \;op(A) \;op(B) + \beta C \) More...
Functions | |
__attribute__ ((weak)) | |
\( C = \alpha \;op(A) \;op(B) + \beta C \)
__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.
[in] | transa |
|
[in] | transb |
|
[in] | m | The number of rows of the matrix op( A ) and of the matrix C. m >= 0. |
[in] | n | The number of columns of the matrix op( B ) and of the matrix C. n >= 0. |
[in] | k | The number of columns of the matrix op( A ) and the number of rows of the matrix op( B ). k >= 0. |
[in] | alpha | The scalar alpha. |
[in] | A | An lda-by-ka matrix, where ka is k when transa = PlasmaNoTrans, and is m otherwise. |
[in] | lda | The leading dimension of the array A. When transa = PlasmaNoTrans, lda >= max(1,m), otherwise, lda >= max(1,k). |
[in] | B | An ldb-by-kb matrix, where kb is n when transb = PlasmaNoTrans, and is k otherwise. |
[in] | ldb | The leading dimension of the array B. When transb = PlasmaNoTrans, ldb >= max(1,k), otherwise, ldb >= max(1,n). |
[in] | beta | The scalar beta. |
[in,out] | C | An ldc-by-n matrix. On exit, the array is overwritten by the m-by-n matrix ( alpha*op( A )*op( B ) + beta*C ). |
[in] | ldc | The 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.
[in] | transa |
|
[in] | transb |
|
[in] | m | The number of rows of the matrix op( A ) and of the matrix C. m >= 0. |
[in] | n | The number of columns of the matrix op( B ) and of the matrix C. n >= 0. |
[in] | k | The number of columns of the matrix op( A ) and the number of rows of the matrix op( B ). k >= 0. |
[in] | alpha | The scalar alpha. |
[in] | A | An lda-by-ka matrix, where ka is k when transa = PlasmaNoTrans, and is m otherwise. |
[in] | lda | The leading dimension of the array A. When transa = PlasmaNoTrans, lda >= max(1,m), otherwise, lda >= max(1,k). |
[in] | B | An ldb-by-kb matrix, where kb is n when transb = PlasmaNoTrans, and is k otherwise. |
[in] | ldb | The leading dimension of the array B. When transb = PlasmaNoTrans, ldb >= max(1,k), otherwise, ldb >= max(1,n). |
[in] | beta | The scalar beta. |
[in,out] | C | An ldc-by-n matrix. On exit, the array is overwritten by the m-by-n matrix ( alpha*op( A )*op( B ) + beta*C ). |
[in] | ldc | The leading dimension of the array C. ldc >= max(1,m). |