DSPCON(3)

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

πŸ’… DSPCON(3) β€” like, the Library Functions Manual, but make it cute πŸŽ€

okay so bestie, welcome to the Library Functions Manual entry for DSPCON(3), straight out of the LAPACK-verse ✨ the file lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dspcon.f and honestly? it's giving "quietly doing the most important math in the room" πŸ‘‘


✨ SYNOPSIS ✨

Functions/Subroutines β€” the cast πŸ’–

subroutine DSPCON (uplo, n, ap, ipiv, anorm, rcond, work, iwork, info)

DSPCON β€” that's her, that's the main character 🌟

Function/Subroutine Documentation πŸ“œ

subroutine DSPCON (character uplo, integer n, double precision, dimension( * )
    ap, integer, dimension( * ) ipiv, double precision anorm, double
    precision rcond, double precision, dimension( * ) work, integer,
    dimension( * ) iwork, integer info)

yep, DSPCON again β€” she said "billing twice, I earned it" πŸ’…


🌸 PURPOSE 🌸

so what does she do? DSPCON estimates the reciprocal of the condition number (in the 1-norm) of a real symmetric packed matrix A, using the factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF 🫢

an estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))) β€” that's the whole formula, no cap, it's literally right there πŸ“βœ¨


πŸ¦‹ PARAMETERS πŸ¦‹

every single one of them, bestie, no skips πŸ‘‡

  • UPLO β€” UPLO is CHARACTER*1. Specifies whether the details of the factorization are stored as an upper or lower triangular matrix πŸ”οΈ
    • = 'U': Upper triangular, form is A = U*D*U**T;
    • = 'L': Lower triangular, form is A = L*D*L**T.
  • N β€” N is INTEGER. The order of the matrix A. Constraint, and she's strict about it: N >= 0 🚨
  • AP β€” AP is DOUBLE PRECISION array, dimension (N*(N+1)/2). The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by DSPTRF, stored as a packed triangular matrix 🧩 (packed!! like a little suitcase of math)
  • IPIV β€” IPIV is INTEGER array, dimension (N). Details of the interchanges and the block structure of D as determined by DSPTRF πŸ”€
  • ANORM β€” ANORM is DOUBLE PRECISION. The 1-norm of the original matrix A πŸ“
  • RCOND β€” RCOND is DOUBLE PRECISION. 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 DOUBLE PRECISION array, dimension (2*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 πŸ’€ (so like… check your inputs, bestie)
⚠️ heads up: that INFO < 0 situation means you passed something illegal into the i-th argument. it's not a "vibe", it's an error. respect the constraint πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

iconic institutions only, we stan credentialed excellence:

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

πŸ“ Definition at line 123 of file dspcon.f.


πŸŽ€ AUTHOR (the meta one) πŸŽ€

Generated automatically by Doxygen for LAPACK from the source code πŸ€–βœ¨ (yes bestie, even the docs have docs)


and that's the whole page!! πŸ’œ this lovely little document is LAPACK, Version 3.12.0, and it signs off from /home/abui...RC/dspcon.f(3) β€” mwah, drink water, and may your RCOND always be reasonable πŸŒˆπŸ’–

πŸ“¦ where this page comes from