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.

Parameters
[in]uploSpecifies 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]MM specifies the number of rows of the matrix A. M >= 0.
[in]NN specifies the number of columns of the matrix A. N >= 0.
[in]alphaalpha specifies the scalar alpha
[in,out]AA is a LDA-by-N matrix.
[in]LDAThe leading dimension of the array A. LDA >= max(1,M).
Returns
Return values
PLASMA_SUCCESSsuccessful exit
See also
PLASMA_dlascal_Tile
PLASMA_clascal
PLASMA_dlascal
PLASMA_slascal