SRC/cpotri.f(3)

Hey bestie! Welcome to the manual page for SRC/cpotri.f β€” it's part of the Library Functions Manual, and it's all about the CPOTRI subroutine. Let's get into the lore πŸ’…βœ¨

πŸ’– NAME πŸ’–

SRC/cpotri.f

πŸŽ€ SYNOPSIS πŸŽ€

✨ Functions/Subroutines ✨

subroutine cpotri (uplo, n, a, lda, info)
    CPOTRI

🧚 Function/Subroutine Documentation 🧚

subroutine cpotri (character uplo, integer n, complex, dimension( lda, * )
    a, integer lda, integer info)
    CPOTRI

🌟 Purpose 🌟

Okay so 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. That's the whole main character energy of this routine. πŸ’–

πŸŽ€ Parameters πŸŽ€

🌸 UPLO 🌸

UPLO is CHARACTER*1. It's the "which triangle are we storing" flag: = 'U': Upper triangle of A is stored; = 'L': Lower triangle of A is stored. Slay. πŸ’…

🌸 N 🌸

N is INTEGER. It's the order of the matrix A. The vibe check here is N >= 0.

🌸 A 🌸

A is a COMPLEX array, dimension (LDA,N). On entry, it's 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 gets written here, overwriting the input factor U or L. So bestie, it's giving glow-up but make it linear algebra. ✨

🌸 LDA 🌸

LDA is INTEGER. It's the leading dimension of the array A. The rule is LDA >= max(1,N).

🌸 INFO 🌸

INFO is INTEGER. It's the status report:

  • = 0: successful exit. We love a clean run. πŸŽ‰
  • < 0: if INFO = -i, the i-th argument had an illegal value. Not cute. 😭
  • > 0: if INFO = i, the (i,i) element of the factor U or L is zero, and the inverse could not be computed.
Heads up, bestie: if INFO > 0, the inverse could not be computed. That's a real vibe check fail, no cap. 🫢

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

πŸ“ Definition at line 94 of file cpotri.f πŸ“

Definition at line 94 of file cpotri.f.

πŸ¦‹ Author πŸ¦‹

Generated automatically by Doxygen for LAPACK from the source code.


That's the whole lore, bestie! This page is from LAPACK Version 3.12.0, file SRC/cpotri.f(3) β€” and yeah, it was generated automatically by Doxygen for LAPACK from the source code. Go off and invert those Hermitian positive definite matrices πŸ’…βœ¨

πŸ“¦ where this page comes from