|
PLASMA
2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
| int PLASMA_dlascal | ( | PLASMA_enum | uplo, |
| int | M, | ||
| int | N, | ||
| double | alpha, | ||
| double * | A, | ||
| int | LDA | ||
| ) |
PLASMA_dlascal - Scales a matrix by the scalar alpha as in ScaLAPACK pdlascal().
\[ A = \alpha A \]
,
alpha is a scalar, and A a general, upper or lower trapezoidal matrix.
| [in] | uplo | Specifies the shape of A: = PlasmaUpperLower: A is a general matrix. = PlasmaUpper: A is an upper trapezoidal matrix. = PlasmaLower: A is a lower trapezoidal matrix. |
| [in] | M | M specifies the number of rows of the matrix A. M >= 0. |
| [in] | N | N specifies the number of columns of the matrix A. N >= 0. |
| [in] | alpha | alpha specifies the scalar alpha |
| [in,out] | A | A is a LDA-by-N matrix. |
| [in] | LDA | The leading dimension of the array A. LDA >= max(1,M). |
| PLASMA_SUCCESS | successful exit |