sytri#

Functions

void ssytri(
    const char*          uplo,
    const INT            n,
          f32*  restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          f32*  restrict work,
          INT*           info
);
void ssytri(const char *uplo, const INT n, f32 *restrict A, const INT lda, const INT *restrict ipiv, f32 *restrict work, INT *info)#

SSYTRI computes the inverse of a real symmetric indefinite matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by SSYTRF.

Parameters

in
uplo

= ‘U’: Upper triangular, A = U*D*U**T = ‘L’: Lower triangular, A = L*D*L**T

in
n

The order of the matrix A. n >= 0.

inout
A

Double precision array, dimension (lda, n). On entry, the factored matrix from SSYTRF. On exit, the symmetric inverse of the original matrix.

in
lda

The leading dimension of A. lda >= max(1, n).

in
ipiv

Integer array, dimension (n). The pivot indices from SSYTRF.

out
work

Double precision array, dimension (n).

out
info

  • = 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.

Functions

void dsytri(
    const char*          uplo,
    const INT            n,
          f64*  restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          f64*  restrict work,
          INT*           info
);
void dsytri(const char *uplo, const INT n, f64 *restrict A, const INT lda, const INT *restrict ipiv, f64 *restrict work, INT *info)#

DSYTRI computes the inverse of a real symmetric indefinite matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF.

Parameters

in
uplo

= ‘U’: Upper triangular, A = U*D*U**T = ‘L’: Lower triangular, A = L*D*L**T

in
n

The order of the matrix A. n >= 0.

inout
A

Double precision array, dimension (lda, n). On entry, the factored matrix from DSYTRF. On exit, the symmetric inverse of the original matrix.

in
lda

The leading dimension of A. lda >= max(1, n).

in
ipiv

Integer array, dimension (n). The pivot indices from DSYTRF.

out
work

Double precision array, dimension (n).

out
info

  • = 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.

Functions

void csytri(
    const char*          uplo,
    const INT            n,
          c64*  restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          c64*  restrict work,
          INT*           info
);
void csytri(const char *uplo, const INT n, c64 *restrict A, const INT lda, const INT *restrict ipiv, c64 *restrict work, INT *info)#

CSYTRI computes the inverse of a complex symmetric indefinite matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by CSYTRF.

Parameters

in
uplo

= ‘U’: Upper triangular, A = U*D*U**T = ‘L’: Lower triangular, A = L*D*L**T

in
n

The order of the matrix A. n >= 0.

inout
A

Single complex array, dimension (lda, n). On entry, the factored matrix from CSYTRF. On exit, the symmetric inverse of the original matrix.

in
lda

The leading dimension of A. lda >= max(1, n).

in
ipiv

Integer array, dimension (n). The pivot indices from CSYTRF.

out
work

Single complex array, dimension (2*n).

out
info

  • = 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.

Functions

void zsytri(
    const char*          uplo,
    const INT            n,
          c128* restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          c128* restrict work,
          INT*           info
);
void zsytri(const char *uplo, const INT n, c128 *restrict A, const INT lda, const INT *restrict ipiv, c128 *restrict work, INT *info)#

ZSYTRI computes the inverse of a complex symmetric indefinite matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by ZSYTRF.

Parameters

in
uplo

= ‘U’: Upper triangular, A = U*D*U**T = ‘L’: Lower triangular, A = L*D*L**T

in
n

The order of the matrix A. n >= 0.

inout
A

Double complex array, dimension (lda, n). On entry, the factored matrix from ZSYTRF. On exit, the symmetric inverse of the original matrix.

in
lda

The leading dimension of A. lda >= max(1, n).

in
ipiv

Integer array, dimension (n). The pivot indices from ZSYTRF.

out
work

Double complex array, dimension (2*n).

out
info

  • = 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.