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

CORE_ctrasm - Computes the sums of the absolute values of elements in a same row or column in a triangular matrix. This function is an auxiliary function to triangular matrix 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 = PlasmaUpper: Upper triangle of A is referenced; = PlasmaLower: Lower triangle of A is referenced.
[in]diagSpecifies whether or not A is unit triangular: = PlasmaNonUnit: A is non unit; = PlasmaUnit: A us unit.
[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).
[in,out]workArray of dimension M if storev = PlasmaRowwise; N otherwise. On exit, contains the sums of the absolute values per column or row added to the input values.