DPOTRI(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… DPOTRI(3) β€” the girlies' guide to inverting a Cholesky factor ✨

okay so real talk, bestie: this page lives in the Library Functions Manual, and its whole government name is /home/abui...RC/dpotri.f(3). Say it with me now. Slay. πŸŽ€


✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dpotri.f

like yes, that's the whole name, she's dramatic, we love her for it πŸ’…


🌸 SYNOPSIS 🌸

Functions/Subroutines

  • subroutine DPOTRI (uplo, n, a, lda, info) β€” this is the moment, this is the girl, DPOTRI

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

subroutine DPOTRI (character uplo, integer n, double precision, dimension(
    lda, * ) a, integer lda, integer info)

DPOTRI β€” the icon herself πŸ‘‘

🫢 Purpose:

!>
!> 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.
!>

so basically: you already did your Cholesky factorization with DPOTRF (that's the hard part, she did all the work), and now DPOTRI takes that factor and flips the whole thing into the actual inverse of A. no cap, it's giving "cleanup crew" energy πŸ’–


πŸ”₯ Parameters πŸ”₯

  • UPLO β€” like, UPLO is CHARACTER*1, and she's the vibe check for where your triangle lives:
!>          UPLO is CHARACTER*1
!>          = 'U':  Upper triangle of A is stored;
!>          = 'L':  Lower triangle of A is stored.
!>
  • N β€” N is INTEGER, the order of the matrix A. and the rule is N >= 0. periodt ✨
!>          N is INTEGER
!>          The order of the matrix A.  N >= 0.
!>
  • A β€” A is DOUBLE PRECISION array, dimension (LDA,N). okay so on entry, she's holding 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?? glow-up πŸ’… she now holds the upper or lower triangle of the (symmetric) inverse of A, overwriting the input factor U or L. literally main character energy, out with the old in with the new.
!>          A is DOUBLE PRECISION array, dimension (LDA,N)
!>          On 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.
!>
  • LDA β€” LDA is INTEGER, the leading dimension of the array A. and bestie, LDA >= max(1,N). the max is not optional, don't test her πŸ™ˆ
!>          LDA is INTEGER
!>          The leading dimension of the array A.  LDA >= max(1,N).
!>
  • INFO β€” INFO is INTEGER, and honestly she's the group chat read receipt:
!>          INFO is INTEGER
!>          = 0:  successful exit
!>          < 0:  if INFO = -i, the i-th argument had an illegal value
!>          > 0:  if INFO = i, the (i,i) element of the factor U or L is
!>                zero, and the inverse could not be computed.
!>

so = 0 means successful exit (ate, no crumbs πŸ’€βœ¨), < 0 means if INFO = -i then the i-th argument had an illegal value (someone showed up wrong 😭), and > 0 means if INFO = i then the (i,i) element of the factor U or L is zero, and the inverse could not be computed. like she tried. she couldn't. respect the process 🫢


πŸ‘‘ Author πŸ‘‘

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

the whole friend group collaborated, we stan a collective πŸ’œ

Definition at line 94 of file dpotri.f.


🧚 Author 🧚

Generated automatically by Doxygen for LAPACK from the source code. (yes she was built by a robot, she still has feelings ⭐)


so that's the whole thing, bestie β€” go invert something symmetric and positive definite, you're gonna do great 🌈

LAPACK Β· Version 3.12.0 Β· from /home/abui...RC/dpotri.f(3) β€” mwah, ilysm, now go run your Fortran πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from