sytri2#
Functions
-
void ssytri2(const char *uplo, const INT n, f32 *restrict A, const INT lda, const INT *restrict ipiv, f32 *restrict work, const INT lwork, INT *info)#
SSYTRI2 computes the inverse of a DOUBLE PRECISION symmetric indefinite matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by SSYTRF.
SSYTRI2 sets the LEADING DIMENSION of the workspace before calling SSYTRI2X that actually computes the inverse.
Parameters
inuplo'U': Upper triangular, form is A = U*D*U**T'L': Lower triangular, form is A = L*D*L**T
innThe order of the matrix A.
n>=0.inoutAArray of dimension
(lda,n). On entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed byssytrf. On exit, ifinfo=0, the (symmetric) inverse of the original matrix. Ifuplo='U', the upper triangular part of the inverse is formed and the part of A below the diagonal is not referenced; ifuplo='L'the lower triangular part of the inverse is formed and the part of A above the diagonal is not referenced.inldaThe leading dimension of the array A.
lda>=max(1,n).inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined byssytrf.outworkArray of dimension
max(1,lwork).inlworkThe dimension of the array
work. Ifn=0,lwork>=1, elselwork>=(n+nb+1)*(nb+3). Iflwork=-1, then a workspace query is assumed; the routine calculates the optimal size of theworkarray, returns this value as the first entry of theworkarray, and no error message related tolworkis issued.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i,D(i,i)=0; the matrix is singular and its inverse could not be computed.
void ssytri2(
const char* uplo,
const INT n,
f32* restrict A,
const INT lda,
const INT* restrict ipiv,
f32* restrict work,
const INT lwork,
INT* info
);
Functions
-
void dsytri2(const char *uplo, const INT n, f64 *restrict A, const INT lda, const INT *restrict ipiv, f64 *restrict work, const INT lwork, INT *info)#
DSYTRI2 computes the inverse of a DOUBLE PRECISION symmetric indefinite matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF.
DSYTRI2 sets the LEADING DIMENSION of the workspace before calling DSYTRI2X that actually computes the inverse.
Parameters
inuplo'U': Upper triangular, form is A = U*D*U**T'L': Lower triangular, form is A = L*D*L**T
innThe order of the matrix A.
n>=0.inoutAArray of dimension
(lda,n). On entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed bydsytrf. On exit, ifinfo=0, the (symmetric) inverse of the original matrix. Ifuplo='U', the upper triangular part of the inverse is formed and the part of A below the diagonal is not referenced; ifuplo='L'the lower triangular part of the inverse is formed and the part of A above the diagonal is not referenced.inldaThe leading dimension of the array A.
lda>=max(1,n).inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined bydsytrf.outworkArray of dimension
max(1,lwork).inlworkThe dimension of the array
work. Ifn=0,lwork>=1, elselwork>=(n+nb+1)*(nb+3). Iflwork=-1, then a workspace query is assumed; the routine calculates the optimal size of theworkarray, returns this value as the first entry of theworkarray, and no error message related tolworkis issued.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i,D(i,i)=0; the matrix is singular and its inverse could not be computed.
void dsytri2(
const char* uplo,
const INT n,
f64* restrict A,
const INT lda,
const INT* restrict ipiv,
f64* restrict work,
const INT lwork,
INT* info
);
Functions
-
void csytri2(const char *uplo, const INT n, c64 *restrict A, const INT lda, const INT *restrict ipiv, c64 *restrict work, const INT lwork, INT *info)#
CSYTRI2 computes the inverse of a COMPLEX*16 symmetric indefinite matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by CSYTRF.
CSYTRI2 sets the LEADING DIMENSION of the workspace before calling CSYTRI2X that actually computes the inverse.
Parameters
inuplo'U': Upper triangular, form is A = U*D*U**T'L': Lower triangular, form is A = L*D*L**T
innThe order of the matrix A.
n>=0.inoutAComplex array of dimension
(lda,n). On entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed bycsytrf. On exit, ifinfo=0, the (symmetric) inverse of the original matrix. Ifuplo='U', the upper triangular part of the inverse is formed and the part of A below the diagonal is not referenced; ifuplo='L'the lower triangular part of the inverse is formed and the part of A above the diagonal is not referenced.inldaThe leading dimension of the array A.
lda>=max(1,n).inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined bycsytrf.outworkComplex array of dimension
max(1,lwork).inlworkThe dimension of the array
work. Ifn=0,lwork>=1, elselwork>=(n+nb+1)*(nb+3). Iflwork=-1, then a workspace query is assumed; the routine calculates the optimal size of theworkarray, returns this value as the first entry of theworkarray, and no error message related tolworkis issued.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i,D(i,i)=0; the matrix is singular and its inverse could not be computed.
void csytri2(
const char* uplo,
const INT n,
c64* restrict A,
const INT lda,
const INT* restrict ipiv,
c64* restrict work,
const INT lwork,
INT* info
);
Functions
-
void zsytri2(const char *uplo, const INT n, c128 *restrict A, const INT lda, const INT *restrict ipiv, c128 *restrict work, const INT lwork, INT *info)#
ZSYTRI2 computes the inverse of a COMPLEX*16 symmetric indefinite matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by ZSYTRF.
ZSYTRI2 sets the LEADING DIMENSION of the workspace before calling ZSYTRI2X that actually computes the inverse.
Parameters
inuplo'U': Upper triangular, form is A = U*D*U**T'L': Lower triangular, form is A = L*D*L**T
innThe order of the matrix A.
n>=0.inoutAComplex array of dimension
(lda,n). On entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed byzsytrf. On exit, ifinfo=0, the (symmetric) inverse of the original matrix. Ifuplo='U', the upper triangular part of the inverse is formed and the part of A below the diagonal is not referenced; ifuplo='L'the lower triangular part of the inverse is formed and the part of A above the diagonal is not referenced.inldaThe leading dimension of the array A.
lda>=max(1,n).inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined byzsytrf.outworkComplex array of dimension
max(1,lwork).inlworkThe dimension of the array
work. Ifn=0,lwork>=1, elselwork>=(n+nb+1)*(nb+3). Iflwork=-1, then a workspace query is assumed; the routine calculates the optimal size of theworkarray, returns this value as the first entry of theworkarray, and no error message related tolworkis issued.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i,D(i,i)=0; the matrix is singular and its inverse could not be computed.
void zsytri2(
const char* uplo,
const INT n,
c128* restrict A,
const INT lda,
const INT* restrict ipiv,
c128* restrict work,
const INT lwork,
INT* info
);