potri#
Functions
-
void spotri(const char *uplo, const INT n, f32 *restrict A, const INT lda, INT *info)#
SPOTRI computes the inverse of a real symmetric positive definite matrix A using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPOTRF.
Parameters
inuploSpecifies whether the factor stored in A is upper or lower triangular. = ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
inoutAOn entry, the triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, as computed by spotrf. On exit, the upper or lower triangle of the (symmetric) inverse of A, overwriting the input factor U or L. Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(1, n).
outinfo= 0: successful exit
< 0: if info = -k, the k-th argument had an illegal value
> 0: if info = k, the (k,k) element of the factor U or L is zero, and the inverse could not be computed.
void spotri(
const char* uplo,
const INT n,
f32* restrict A,
const INT lda,
INT* info
);
Functions
-
void dpotri(const char *uplo, const INT n, f64 *restrict A, const INT lda, INT *info)#
DPOTRI computes the inverse of a real symmetric positive definite matrix A using the Cholesky factorization A = U**T*U or A = L*L**T computed by DPOTRF.
Parameters
inuploSpecifies whether the factor stored in A is upper or lower triangular. = ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
inoutAOn entry, the triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, as computed by dpotrf. On exit, the upper or lower triangle of the (symmetric) inverse of A, overwriting the input factor U or L. Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(1, n).
outinfo= 0: successful exit
< 0: if info = -k, the k-th argument had an illegal value
> 0: if info = k, the (k,k) element of the factor U or L is zero, and the inverse could not be computed.
void dpotri(
const char* uplo,
const INT n,
f64* restrict A,
const INT lda,
INT* info
);
Functions
-
void cpotri(const char *uplo, const INT n, c64 *restrict A, const INT lda, INT *info)#
CPOTRI computes the inverse of a complex Hermitian positive definite matrix A using the Cholesky factorization A = U**H*U or A = L*L**H computed by CPOTRF.
Parameters
inuploSpecifies whether the factor stored in A is upper or lower triangular. = ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
inoutAOn entry, the triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, as computed by cpotrf. On exit, the upper or lower triangle of the (Hermitian) inverse of A, overwriting the input factor U or L. Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(1, n).
outinfo= 0: successful exit
< 0: if info = -k, the k-th argument had an illegal value
> 0: if info = k, the (k,k) element of the factor U or L is zero, and the inverse could not be computed.
void cpotri(
const char* uplo,
const INT n,
c64* restrict A,
const INT lda,
INT* info
);
Functions
-
void zpotri(const char *uplo, const INT n, c128 *restrict A, const INT lda, INT *info)#
ZPOTRI computes the inverse of a complex Hermitian positive definite matrix A using the Cholesky factorization A = U**H*U or A = L*L**H computed by ZPOTRF.
Parameters
inuploSpecifies whether the factor stored in A is upper or lower triangular. = ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
inoutAOn entry, the triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, as computed by zpotrf. On exit, the upper or lower triangle of the (Hermitian) inverse of A, overwriting the input factor U or L. Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(1, n).
outinfo= 0: successful exit
< 0: if info = -k, the k-th argument had an illegal value
> 0: if info = k, the (k,k) element of the factor U or L is zero, and the inverse could not be computed.
void zpotri(
const char* uplo,
const INT n,
c128* restrict A,
const INT lda,
INT* info
);