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

- Main Page
- Modules
- Data Types List

void CORE_slantr | ( | PLASMA_enum | norm,
|  | PLASMA_enum | uplo,
|  | PLASMA_enum | diag,
|  | int | M,
|  | int | N,
|  | const float * | A,
|  | int | LDA,
|  | float * | work,
|  | float * | normA
| ) |  |

CORE_slantr returns the value

slantr = ( max(abs(A(i,j))), NORM = PlasmaMaxNorm ( ( norm1(A), NORM = PlasmaOneNorm ( ( normI(A), NORM = PlasmaInfNorm ( ( normF(A), NORM = PlasmaFrobeniusNorm

where norm1 denotes the one norm of a matrix (maximum column sum), normI denotes the infinity norm of a matrix (maximum row sum) and normF denotes the Frobenius norm of a matrix (square root of sum of squares). Note that max(abs(A(i,j))) is not a consistent matrix norm.

Parameters

  [in] | norm | = PlasmaMaxNorm: Max norm = PlasmaOneNorm: One norm = PlasmaInfNorm: Infinity norm = PlasmaFrobeniusNorm: Frobenius norm
  [in] | uplo | Specifies whether the matrix A is upper triangular or lower triangular: = PlasmaUpper: Upper triangle of A is stored; = PlasmaLower: Lower triangle of A is stored.
  [in] | diag | Specifies whether or not A is unit triangular: = PlasmaNonUnit: A is non unit; = PlasmaUnit: A us unit.
  [in] | M | The number of rows of the matrix A. M >= 0. If uplo == PlasmaUpper, M <= N. When M = 0, CORE_slantr returns 0.
  [in] | N | The number of columns of the matrix A. N >= 0. If uplo == PlasmaLower, N <= M. When N = 0, CORE_slantr returns 0.
  [in] | A | The LDA-by-N matrix A.
  [in] | LDA | The leading dimension of the array A. LDA >= max(1,M).
  [in,out] | work | Array of dimension (MAX(1,LWORK)), where LWORK >= M when norm = PlasmaInfNorm, or LWORK >= N when norm = PlasmaOneNorm; otherwise, work is not referenced.
  [out] | normA | On exit, normA is the norm of matrix A.