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
inuploSpecifies whether the details of the factorization are stored as an upper or lower triangular matrix:
= ‘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.
inoutAPOn entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by SSPTRF, stored as a packed triangular matrix of dimension n*(n+1)/2. On exit, if info = 0, the (symmetric) inverse of the original matrix, stored as a packed triangular matrix.
inipivDetails of the interchanges and the block structure of D as determined by SSPTRF. Array of dimension n.
outworkWorkspace array of dimension n.
outinfoExit status:
= 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.
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
inuploSpecifies whether the details of the factorization are stored as an upper or lower triangular matrix:
= ‘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.
inoutAPOn entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by DSPTRF, stored as a packed triangular matrix of dimension n*(n+1)/2. On exit, if info = 0, the (symmetric) inverse of the original matrix, stored as a packed triangular matrix.
inipivDetails of the interchanges and the block structure of D as determined by DSPTRF. Array of dimension n.
outworkWorkspace array of dimension n.
outinfoExit status:
= 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.
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
inuploSpecifies whether the details of the factorization are stored as an upper or lower triangular matrix:
= ‘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.
inoutAPOn entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CSPTRF, stored as a packed triangular matrix of dimension n*(n+1)/2. On exit, if info = 0, the (symmetric) inverse of the original matrix, stored as a packed triangular matrix.
inipivDetails of the interchanges and the block structure of D as determined by CSPTRF. Array of dimension n.
outworkWorkspace array of dimension n.
outinfoExit status:
= 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.
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
inuploSpecifies whether the details of the factorization are stored as an upper or lower triangular matrix:
= ‘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.
inoutAPOn entry, the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by ZSPTRF, stored as a packed triangular matrix of dimension n*(n+1)/2. On exit, if info = 0, the (symmetric) inverse of the original matrix, stored as a packed triangular matrix.
inipivDetails of the interchanges and the block structure of D as determined by ZSPTRF. Array of dimension n.
outworkWorkspace array of dimension n.
outinfoExit status:
= 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.
void zsptri(
const char* uplo,
const INT n,
c128* restrict AP,
const INT* restrict ipiv,
c128* restrict work,
INT* info
);