PLASMA 2.8.0 PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures

- Main Page
- Modules
- Data Types List

void CORE_sasum | ( | PLASMA_enum | storev,
|  | PLASMA_enum | uplo,
|  | int | M,
|  | int | N,
|  | const float * | A,
|  | int | lda,
|  | float * | work
| ) |  |

CORE_sasum - 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] | storev | Specifies whether the sums are made per column or row. = PlasmaColumnwise: Computes the sum on each column = PlasmaRowwise: Computes the sum on each row
  [in] | uplo | Specifies 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] | 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] | A | A is a M-by-N matrix.
  [in] | lda | The leading dimension of the array A. lda >= max(1,M).
  [out] | work | Array of dimension M if storev = PlasmaRowwise; N otherwise. On exit, contains the sums of the absolute values per column or row.