PLASMA
Parallel Linear Algebra Software for Multicore Architectures
|
\( C = op(A)^{-1} B \) or \( C = B \;op(A)^{-1} \) where \( A \) is triangular More...
Functions | |
__attribute__ ((weak)) | |
\( C = op(A)^{-1} B \) or \( C = B \;op(A)^{-1} \) where \( A \) is triangular
__attribute__ | ( | (weak) | ) |
Solves one of the matrix equations
\[ op( A )\times X = \alpha B, \]
or
\[ X \times op( A ) = \alpha B, \]
where op( A ) is one of:
\[ op( A ) = A, \]
\[ op( A ) = A^T, \]
\[ op( A ) = A^H, \]
alpha is a scalar, X and B are m-by-n matrices, and A is a unit or non-unit, upper or lower triangular matrix. The matrix X overwrites B.
[in] | side |
|
[in] | uplo |
|
[in] | transa |
|
[in] | diag |
|
[in] | m | The number of rows of the matrix B. m >= 0. |
[in] | n | The number of columns of the matrix B. n >= 0. |
[in] | alpha | The scalar alpha. |
[in] | A | The lda-by-ka triangular matrix, where ka = m if side = PlasmaLeft, and ka = n if side = PlasmaRight. If uplo = PlasmaUpper, the leading k-by-k 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 k-by-k 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,k). |
[in,out] | B | On entry, the ldb-by-n right hand side matrix B. On exit, if return value = 0, the ldb-by-n solution matrix X. |
[in] | ldb | The leading dimension of the array B. ldb >= max(1,m). |
Solves one of the matrix equations
\[ op( A )\times X = \alpha B, \]
or
\[ X \times op( A ) = \alpha B, \]
where op( A ) is one of:
\[ op( A ) = A, \]
\[ op( A ) = A^T, \]
\[ op( A ) = A^T, \]
alpha is a scalar, X and B are m-by-n matrices, and A is a unit or non-unit, upper or lower triangular matrix. The matrix X overwrites B.
[in] | side |
|
[in] | uplo |
|
[in] | transa |
|
[in] | diag |
|
[in] | m | The number of rows of the matrix B. m >= 0. |
[in] | n | The number of columns of the matrix B. n >= 0. |
[in] | alpha | The scalar alpha. |
[in] | A | The lda-by-ka triangular matrix, where ka = m if side = PlasmaLeft, and ka = n if side = PlasmaRight. If uplo = PlasmaUpper, the leading k-by-k 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 k-by-k 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,k). |
[in,out] | B | On entry, the ldb-by-n right hand side matrix B. On exit, if return value = 0, the ldb-by-n solution matrix X. |
[in] | ldb | The leading dimension of the array B. ldb >= max(1,m). |