PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
int PLASMA_zgetri ( int  N,
PLASMA_Complex64_t *  A,
int  LDA,
int *  IPIV 
)

PLASMA_zgetri - Computes the inverse of a matrix using the LU factorization computed by PLASMA_zgetrf. This method inverts U and then computes inv(A) by solving the system inv(A)*L = inv(U) for inv(A).

Parameters
[in]NThe order of the matrix A. N >= 0.
[in,out]AOn entry, the triangular factor L or U from the factorization A = P*L*U as computed by PLASMA_zgetrf. On exit, if return value = 0, the inverse of the original matrix A.
[in]LDAThe leading dimension of the array A. LDA >= max(1,N).
[in]IPIVThe pivot indices that define the permutations as returned by PLASMA_zgetrf.
Returns
Return values
PLASMA_SUCCESSsuccessful exit
<0if -i, the i-th argument had an illegal value
>0if i, the (i,i) element of the factor U is exactly zero; The matrix is singular and its inverse could not be computed.
See also
PLASMA_zgetri_Tile
PLASMA_zgetri_Tile_Async
PLASMA_cgetri
PLASMA_dgetri
PLASMA_sgetri
PLASMA_zgetrf