|
PLASMA
Parallel Linear Algebra Software for Multicore Architectures
|
\( A = A^{-1} \) where \( A \) is triangular More...
Functions | |
| __attribute__ ((weak)) | |
\( A = A^{-1} \) where \( A \) is triangular
| __attribute__ | ( | (weak) | ) |
Computes the inverse of an upper or lower triangular matrix A.
| [in] | uplo | = PlasmaUpper: Upper triangle of A is stored; = PlasmaLower: Lower triangle of A is stored. |
| [in] | diag | = PlasmaNonUnit: A is non-unit triangular; = PlasmaUnit: A is unit triangular. |
| [in] | n | The order of the matrix A. n >= 0. |
| [in,out] | A | On entry, the triangular matrix A. If uplo = 'U', the leading n-by-n 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 = 'L', the leading n-by-n 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 = 'U', the diagonal elements of A are also not referenced and are assumed to be 1. On exit, the (triangular) inverse of the original matrix. |
| [in] | lda | The leading dimension of the array A. lda >= max(1,n). |
| PlasmaSuccess | on successful exit |
| < | 0 if -i, the i-th argument had an illegal value |
| > | 0 if i, A(i,i) is exactly zero. The triangular matrix is singular and its inverse can not be computed. |