chetri - compute the inverse of a complex Hermitian indefinite matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by CHETRF
SUBROUTINE CHETRI(UPLO, N, A, LDA, IPIVOT, WORK, INFO) CHARACTER*1 UPLO COMPLEX A(LDA,*), WORK(*) INTEGER N, LDA, INFO INTEGER IPIVOT(*) SUBROUTINE CHETRI_64(UPLO, N, A, LDA, IPIVOT, WORK, INFO) CHARACTER*1 UPLO COMPLEX A(LDA,*), WORK(*) INTEGER*8 N, LDA, INFO INTEGER*8 IPIVOT(*) F95 INTERFACE SUBROUTINE HETRI(UPLO, N, A, LDA, IPIVOT, WORK, INFO) CHARACTER(LEN=1) :: UPLO COMPLEX, DIMENSION(:) :: WORK COMPLEX, DIMENSION(:,:) :: A INTEGER :: N, LDA, INFO INTEGER, DIMENSION(:) :: IPIVOT SUBROUTINE HETRI_64(UPLO, N, A, LDA, IPIVOT, WORK, INFO) CHARACTER(LEN=1) :: UPLO COMPLEX, DIMENSION(:) :: WORK COMPLEX, DIMENSION(:,:) :: A INTEGER(8) :: N, LDA, INFO INTEGER(8), DIMENSION(:) :: IPIVOT C INTERFACE #include <sunperf.h> void chetri(char uplo, int n, complex *a, int lda, int *ipivot, int *info); void chetri_64(char uplo, long n, complex *a, long lda, long *ipivot, long *info);
Oracle Solaris Studio Performance Library chetri(3P) NAME chetri - compute the inverse of a complex Hermitian indefinite matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by CHETRF SYNOPSIS SUBROUTINE CHETRI(UPLO, N, A, LDA, IPIVOT, WORK, INFO) CHARACTER*1 UPLO COMPLEX A(LDA,*), WORK(*) INTEGER N, LDA, INFO INTEGER IPIVOT(*) SUBROUTINE CHETRI_64(UPLO, N, A, LDA, IPIVOT, WORK, INFO) CHARACTER*1 UPLO COMPLEX A(LDA,*), WORK(*) INTEGER*8 N, LDA, INFO INTEGER*8 IPIVOT(*) F95 INTERFACE SUBROUTINE HETRI(UPLO, N, A, LDA, IPIVOT, WORK, INFO) CHARACTER(LEN=1) :: UPLO COMPLEX, DIMENSION(:) :: WORK COMPLEX, DIMENSION(:,:) :: A INTEGER :: N, LDA, INFO INTEGER, DIMENSION(:) :: IPIVOT SUBROUTINE HETRI_64(UPLO, N, A, LDA, IPIVOT, WORK, INFO) CHARACTER(LEN=1) :: UPLO COMPLEX, DIMENSION(:) :: WORK COMPLEX, DIMENSION(:,:) :: A INTEGER(8) :: N, LDA, INFO INTEGER(8), DIMENSION(:) :: IPIVOT C INTERFACE #include <sunperf.h> void chetri(char uplo, int n, complex *a, int lda, int *ipivot, int *info); void chetri_64(char uplo, long n, complex *a, long lda, long *ipivot, long *info); PURPOSE chetri computes the inverse of a complex Hermitian indefinite matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by CHETRF. ARGUMENTS UPLO (input) Specifies whether the details of the factorization are stored as an upper or lower triangular matrix. = 'U': Upper trian- gular, form is A = U*D*U**H; = 'L': Lower triangular, form is A = L*D*L**H. N (input) The order of the matrix A. N >= 0. A (input/output) On entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CHETRF. On exit, if INFO = 0, the (Hermitian) inverse of the original matrix. If UPLO = 'U', the upper triangular part of the inverse is formed and the part of A below the diagonal is not referenced; if UPLO = 'L' the lower triangular part of the inverse is formed and the part of A above the diagonal is not referenced. LDA (input) The leading dimension of the array A. LDA >= max(1,N). IPIVOT (input) Details of the interchanges and the block structure of D as determined by CHETRF. WORK (workspace) dimension(N) INFO (output) = 0: successful exit < 0: if INFO = -i, the i-th argument had an illegal value > 0: if INFO = i, D(i,i) = 0; the matrix is singular and its inverse could not be computed. 7 Nov 2015 chetri(3P)