PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
int PLASMA_ctrtri ( PLASMA_enum  uplo,
PLASMA_enum  diag,
int  N,
PLASMA_Complex32_t *  A,
int  LDA 
)

PLASMA_ctrtri - 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 the same storage format.
[in]LDAThe leading dimension of the array A. LDA >= max(1,N).
Returns
Return values
PLASMA_SUCCESSsuccessful exit
<0if -i, the i-th argument had an illegal value
>0if i, A(i,i) is exactly zero. The triangular matrix is singular and its inverse can not be computed.
See also
PLASMA_ctrtri_Tile
PLASMA_ctrtri_Tile_Async
PLASMA_ctrtri
PLASMA_dtrtri
PLASMA_strtri
PLASMA_cpotri