|
int PLASMA_ssyr2k |
( |
PLASMA_enum |
uplo, |
|
|
PLASMA_enum |
trans, |
|
|
int |
N, |
|
|
int |
K, |
|
|
float |
alpha, |
|
|
float * |
A, |
|
|
int |
LDA, |
|
|
float * |
B, |
|
|
int |
LDB, |
|
|
float |
beta, |
|
|
float * |
C, |
|
|
int |
LDC | |
|
) |
| | |
PLASMA_ssyr2k - Performs one of the symmetric rank 2k operations
, or
,
where op( X ) is one of
op( X ) = X or op( X ) = g( X' )
where alpha and beta are real scalars, C is an n-by-n symmetric matrix and A and B are an n-by-k matrices the first case and k-by-n matrices in the second case.
- Parameters:
-
[in] | uplo | = PlasmaUpper: Upper triangle of C is stored; = PlasmaLower: Lower triangle of C is stored. |
[in] | trans | Specifies whether the matrix A is transposed or ugate transposed: = PlasmaNoTrans:
= PlasmaTrans:
|
[in] | N | N specifies the order of the matrix C. N must be at least zero. |
[in] | K | K specifies the number of columns of the A and B matrices with trans = PlasmaNoTrans. K specifies the number of rows of the A and B matrices with trans = PlasmaTrans. |
[in] | alpha | alpha specifies the scalar alpha. |
[in] | A | A is a LDA-by-ka matrix, where ka is K when trans = PlasmaNoTrans, and is N otherwise. |
[in] | LDA | The leading dimension of the array A. LDA must be at least max( 1, N ), otherwise LDA must be at least max( 1, K ). |
[in] | B | B is a LDB-by-kb matrix, where kb is K when trans = PlasmaNoTrans, and is N otherwise. |
[in] | LDB | The leading dimension of the array B. LDB must be at least max( 1, N ), otherwise LDB must be at least max( 1, K ). |
[in] | beta | beta specifies the scalar beta. |
[in,out] | C | C is a LDC-by-N matrix. On exit, the array uplo part of the matrix is overwritten by the uplo part of the updated matrix. |
[in] | LDC | The leading dimension of the array C. LDC >= max( 1, N ). |
- Returns:
- Return values:
-
| PLASMA_SUCCESS | successful exit |
- See also:
- PLASMA_ssyr2k_Tile
-
PLASMA_csyr2k
-
PLASMA_dsyr2k
-
PLASMA_ssyr2k
|