sptri#
Functions
-
void ssptri(const char *uplo, const INT n, f32 *restrict AP, const INT *restrict ipiv, f32 *restrict work, INT *info)#
SSPTRI computes the inverse of a real symmetric indefinite matrix A in packed storage using the factorization A = U*D*U**T or A = L*D*L**T computed by SSPTRF.
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.inoutAPArray of dimension
n*(n+1)/2. On entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed byssptrf, stored as a packed triangular matrix. On exit, ifinfo=0, the (symmetric) inverse of the original matrix, stored as a packed triangular matrix. The j-th column ofinv(A)is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = inv(A)(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = inv(A)(i,j)forj<=i<=n-1.inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined byssptrf.outworkWorkspace array of dimension
n.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 ssptri(
const char* uplo,
const INT n,
f32* restrict AP,
const INT* restrict ipiv,
f32* restrict work,
INT* info
);
Functions
-
void dsptri(const char *uplo, const INT n, f64 *restrict AP, const INT *restrict ipiv, f64 *restrict work, INT *info)#
DSPTRI computes the inverse of a real symmetric indefinite matrix A in packed storage using the factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF.
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.inoutAPArray of dimension
n*(n+1)/2. On entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed bydsptrf, stored as a packed triangular matrix. On exit, ifinfo=0, the (symmetric) inverse of the original matrix, stored as a packed triangular matrix. The j-th column ofinv(A)is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = inv(A)(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = inv(A)(i,j)forj<=i<=n-1.inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined bydsptrf.outworkWorkspace array of dimension
n.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 dsptri(
const char* uplo,
const INT n,
f64* restrict AP,
const INT* restrict ipiv,
f64* restrict work,
INT* info
);
Functions
-
void csptri(const char *uplo, const INT n, c64 *restrict AP, const INT *restrict ipiv, c64 *restrict work, INT *info)#
CSPTRI computes the inverse of a complex symmetric indefinite matrix A in packed storage using the factorization A = U*D*U**T or A = L*D*L**T computed by CSPTRF.
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.inoutAPComplex array of dimension
n*(n+1)/2. On entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed bycsptrf, stored as a packed triangular matrix. On exit, ifinfo=0, the (symmetric) inverse of the original matrix, stored as a packed triangular matrix. The j-th column ofinv(A)is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = inv(A)(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = inv(A)(i,j)forj<=i<=n-1.inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined bycsptrf.outworkComplex workspace array of dimension
n.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 csptri(
const char* uplo,
const INT n,
c64* restrict AP,
const INT* restrict ipiv,
c64* restrict work,
INT* info
);
Functions
-
void zsptri(const char *uplo, const INT n, c128 *restrict AP, const INT *restrict ipiv, c128 *restrict work, INT *info)#
ZSPTRI computes the inverse of a complex symmetric indefinite matrix A in packed storage using the factorization A = U*D*U**T or A = L*D*L**T computed by ZSPTRF.
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.inoutAPComplex array of dimension
n*(n+1)/2. On entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed byzsptrf, stored as a packed triangular matrix. On exit, ifinfo=0, the (symmetric) inverse of the original matrix, stored as a packed triangular matrix. The j-th column ofinv(A)is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = inv(A)(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = inv(A)(i,j)forj<=i<=n-1.inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined byzsptrf.outworkComplex workspace array of dimension
n.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 zsptri(
const char* uplo,
const INT n,
c128* restrict AP,
const INT* restrict ipiv,
c128* restrict work,
INT* info
);