SPOTRI(3)

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

πŸ’– NAME πŸ’–

okay so bestie, this page is literally about one file, and its whole government name is:

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

that's it, that's the name, she's got a long one and she's not sorry πŸ’…


✨ SYNOPSIS ✨

🫢 Functions/Subroutines

  • subroutine SPOTRI (uplo, n, a, lda, info) β€” SPOTRI. that's the whole vibe. moving on ✨

πŸ‘‘ Function/Subroutine Documentation πŸ‘‘

🌸 subroutine SPOTRI (character uplo, integer n, real, dimension( lda, * ) a, integer lda, integer info)

SPOTRI. yes bestie, we're back, it's her again πŸ’–

πŸ’œ Purpose:

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

so like β€” SPOTRI takes your real symmetric positive definite matrix A, and she un-does it. it's giving inverse era πŸ”₯. the way she does it is by riding on the Cholesky factorization that SPOTRF already computed, so you gotta do your homework first, no skipping steps πŸŽ€


πŸ¦‹ Parameters πŸ¦‹

🌈 UPLO

!>          UPLO is CHARACTER*1
!>          = 'U':  Upper triangle of A is stored;
!>          = 'L':  Lower triangle of A is stored.
!>

it's a single character, bestie, CHARACTER*1. 'U' means the upper triangle of A is the one being stored, 'L' means it's the lower triangle. pick your fighter, no cap πŸ’€

⭐ N

!>          N is INTEGER
!>          The order of the matrix A.  N >= 0.
!>

N is an INTEGER and it's the order of the matrix A, and she must be N >= 0. zero is fine, negative is a whole red flag πŸ™ˆ

πŸ“ A

!>          A is REAL 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
!>          SPOTRF.
!>          On exit, the upper or lower triangle of the (symmetric)
!>          inverse of A, overwriting the input factor U or L.
!>

A is a REAL array, dimension (LDA,N), and she is the main character in every sense πŸ‘‘. on entry she's holding the triangular factor U or L from that Cholesky factorization A = U**T*U or A = L*L**T, as computed by SPOTRF. on exit she's been fully transformed β€” now she holds the upper or lower triangle of the (symmetric) inverse of A, and yes, she overwrote the input factor U or L to do it. glow-up AND a sacrifice, iconic 😭

🧚 LDA

!>          LDA is INTEGER
!>          The leading dimension of the array A.  LDA >= max(1,N).
!>

LDA is an INTEGER, she's the leading dimension of the array A, and the rule is LDA >= max(1,N). respect the bounds or perish πŸ’…

πŸ”₯ INFO

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

INFO is an INTEGER and she's the vibe check at the end, so listen up:

  • = 0 β€” successful exit, we ate, no crumbs ✨
  • < 0 β€” if INFO = -i, then the i-th argument had an illegal value. someone did not read the assignment 😭
  • > 0 β€” if INFO = i, the (i,i) element of the factor U or L is zero, and the inverse could not be computed. that's a wrap, bestie, she literally cannot πŸ’€

πŸŽ€ Author πŸŽ€

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

look at this group project fr fr, four whole institutions and they all showed up 🫢

Definition at line 94 of file spotri.f. β€” that's where the lore lives, line 94, write it down πŸ¦‹

🌸 Author (the second one, yes really) 🌸

Generated automatically by Doxygen for LAPACK from the source code. so nobody hand-wrote this, a robot did it, and honestly? she ate πŸ€–πŸ’…


okay that's the whole page bestie, go forth and invert your symmetric positive definite matrices responsibly πŸ’–βœ¨

LAPACK, Version 3.12.0, dated /home/abui...RC/spotri.f(3) β€” mwah, catch you on the next manpage, love u, bye πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from