PLASMA
2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
void CORE_strsm | ( | PLASMA_enum | side, |
PLASMA_enum | uplo, | ||
PLASMA_enum | transA, | ||
PLASMA_enum | diag, | ||
int | M, | ||
int | N, | ||
float | alpha, | ||
const float * | A, | ||
int | LDA, | ||
float * | B, | ||
int | LDB | ||
) |
CORE_strsm - Computes triangular solve A*X = B or X*A = B.
[in] | side | Specifies whether A appears on the left or on the right of X: = PlasmaLeft: A*X = B = PlasmaRight: X*A = B |
[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] | transA | Specifies whether the matrix A is transposed, not transposed or ugate transposed: = PlasmaNoTrans: A is transposed; = PlasmaTrans: A is not transposed; = PlasmaTrans: A is ugate transposed. |
[in] | diag | Specifies whether or not A is unit triangular: = PlasmaNonUnit: A is non unit; = PlasmaUnit: A us unit. |
[in] | M | The order of the matrix A. M >= 0. |
[in] | N | The number of right hand sides, i.e., the number of columns of the matrix B. N >= 0. |
[in] | alpha | alpha specifies the scalar alpha. |
[in] | A | The triangular matrix A. If uplo = PlasmaUpper, the leading M-by-M upper triangular part of the array A contains the upper triangular matrix, and the strictly lower triangular part of A is not referenced. If uplo = PlasmaLower, the leading M-by-M lower triangular part of the array A contains the lower triangular matrix, and the strictly upper triangular part of A is not referenced. If diag = PlasmaUnit, the diagonal elements of A are also not referenced and are assumed to be 1. |
[in] | LDA | The leading dimension of the array A. LDA >= max(1,M). |
[in,out] | B | On entry, the M-by-N right hand side matrix B. On exit, if return value = 0, the M-by-N solution matrix X. |
[in] | LDB | The leading dimension of the array B. LDB >= max(1,M). |