PLASMA
Parallel Linear Algebra Software for Multicore Architectures
|
\( A_{ij} = \) diag if \( i=j \); \( A_{ij} = \) offdiag otherwise. More...
Functions | |
__attribute__ ((weak)) | |
\( A_{ij} = \) diag if \( i=j \); \( A_{ij} = \) offdiag otherwise.
__attribute__ | ( | (weak) | ) |
Sets the elements of the matrix A on the diagonal to beta and on the off-diagonals to alpha
[in] | uplo | Specifies which elements of the matrix are to be set
|
[in] | m | The number of rows of the matrix A. m >= 0. |
[in] | n | The number of columns of the matrix A. n >= 0. |
[in] | alpha | The constant to which the off-diagonal elements are to be set. |
[in] | beta | The constant to which the diagonal elements are to be set. |
[in,out] | A | On entry, the m-by-n tile A. On exit, A has been set accordingly. |
[in] | lda | The leading dimension of the array A. lda >= max(1,m). |