PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
void CORE_dasum ( PLASMA_enum  storev,
PLASMA_enum  uplo,
int  M,
int  N,
const double *  A,
int  lda,
double *  work 
)

CORE_dasum - Computes the sums of the absolute values of elements in a same row or column. This function is an auxiliary function to norm computations.

Parameters
[in]storevSpecifies whether the sums are made per column or row. = PlasmaColumnwise: Computes the sum on each column = PlasmaRowwise: Computes the sum on each row
[in]uploSpecifies whether the matrix A is upper triangular or lower triangular or general = PlasmaUpperLower: All matrix A is referenced; = PlasmaUpper: Upper triangle of A is referenced; = PlasmaLower: Lower triangle of A is referenced.
[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]AA is a M-by-N matrix.
[in]ldaThe leading dimension of the array A. lda >= max(1,M).
[out]workArray of dimension M if storev = PlasmaRowwise; N otherwise. On exit, contains the sums of the absolute values per column or row.