SRC/spocon.f(3)

πŸ’… SRC/spocon.f(3) πŸ’…

okay so this is a page from the Library Functions Manual β€” manual name folded in right here, bestie, because we are not copying that header line like a robot. The title is SRC/spocon.f(3), and it's all about one little subroutine. periodt.

🌸 NAME 🌸

SRC/spocon.f β€” that's the name, short and iconic.

✨ SYNOPSIS ✨

πŸŽ€ Functions/Subroutines πŸŽ€

subroutine spocon (uplo, n, a, lda, anorm, rcond, work, iwork, info)
    SPOCON

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

subroutine spocon (character uplo, integer n, real, dimension( lda, * ) a,
       integer lda, real anorm, real rcond, real, dimension( * ) work, integer,
       dimension( * ) iwork, integer info)

SPOCON is the main character here, and honestly? It ate.

πŸ¦‹ Purpose πŸ¦‹

okay so what does it do? SPOCON estimates the reciprocal of the condition number (in the 1-norm) of a real symmetric positive definite matrix using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPOTRF.

An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))). literally the whole vibe.

πŸŽ€ Parameters πŸŽ€

here's the whole cast, no skips:

  • UPLO β€” UPLO is CHARACTER*1. = 'U': Upper triangle of A is stored; = 'L': Lower triangle of A is stored. choose your triangle, bestie.
  • N β€” N is INTEGER. The order of the matrix A. N >= 0.
  • A β€” A is REAL array, dimension (LDA,N). The triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, as computed by SPOTRF.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,N).
  • ANORM β€” ANORM is REAL. The 1-norm (or infinity-norm) of the symmetric matrix A.
  • RCOND β€” RCOND is REAL. The reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(A) computed in this routine.
  • WORK β€” WORK is REAL array, dimension (3*N).
  • IWORK β€” IWORK is INTEGER array, dimension (N).
  • INFO β€” INFO is INTEGER:
    • = 0: successful exit
    • < 0: if INFO = -i, the i-th argument had an illegal value
vibe check note: if INFO = -i, that means the i-th argument had an illegal value β€” no cap, that's the error.

πŸ’– Author πŸ’–

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

πŸ“Œ Definition at line 119 of file spocon.f. πŸ“Œ

that's the exact line, bestie β€” no edits.

🧚 Author 🧚

Generated automatically by Doxygen for LAPACK from the source code. β€” iconic automation behavior, honestly.


πŸ’– that's the whole SRC/spocon.f(3) page, bestie! πŸ’– footer vibe: LAPACK Version 3.12.0 and SRC/spocon.f(3) β€” and there's no separate date in the footer, so I'm not inventing one. periodt. 🫢

πŸ“¦ where this page comes from