PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
void CORE_dtrtri ( PLASMA_enum  uplo,
PLASMA_enum  diag,
int  N,
double *  A,
int  LDA,
int *  info 
)

CORE_dtrtri - Computes the inverse of a complex upper or lower triangular matrix A.

Parameters
[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]NThe order of the matrix A. N >= 0.
[in,out]AOn 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]LDAThe leading dimension of the array A. LDA >= max(1,N).
[out]info
  • 0 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.