TESTING/LIN/stpt06.f(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

✨ NAME ✨

Okay bestie, this page is literally TESTING/LIN/stpt06.f β€” and the header title is TESTING/LIN/stpt06.f(3). The manual name is folded in near the top like a little name tag: Library Functions Manual. That's the whole NAME section, no cap. πŸŽ€


πŸ’– SYNOPSIS πŸ’–

🧚 Functions/Subroutines 🧚

  • subroutine stpt06 (rcond, rcondc, uplo, diag, n, ap, work, rat) β€” STPT06 (yes, that's the label, periodt)

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

🌈 subroutine stpt06 🌈

The full signature is giving exact-type-energy:

   subroutine stpt06 (real rcond, real rcondc, character uplo, character diag,
       integer n, real, dimension( * ) ap, real, dimension( * ) work, real rat)

This one is called STPT06, and the source doc-comment lines are prefixed with !> because Doxygen is Doxygen. Anyway, here's the tea: 🍡

πŸŽ€ Purpose πŸŽ€

STPT06 computes a test ratio comparing RCOND (the reciprocal condition number of a triangular matrix A) and RCONDC, the estimate computed by STPCON. Information about the triangular matrix A is used if one estimate is zero and the other is non-zero to decide if underflow in the estimate is justified. πŸ‘‘

🌸 Parameters 🌸

πŸ’– RCOND

RCOND is REAL. It's the estimate of the reciprocal condition number obtained by forming the explicit inverse of the matrix A and computing:

RCOND = 1/( norm(A) * norm(inv(A)) ).

Explicit inverse energy. Iconic but expensive, iykyk. πŸ’…

πŸ’œ RCONDC

RCONDC is REAL. It's the estimate of the reciprocal condition number computed by STPCON. That's the other estimate in this little comparison era. ✨

πŸ¦‹ UPLO

UPLO is CHARACTER. It specifies whether the matrix A is upper or lower triangular:

  • = 'U': Upper triangular
  • = 'L': Lower triangular

Pick a side, bestie β€” upper or lower. πŸŽ€

πŸŽ€ DIAG

DIAG is CHARACTER. It specifies whether or not the matrix A is unit triangular:

  • = 'N': Non-unit triangular
  • = 'U': Unit triangular

Unit or non-unit, that's the whole vibe check. 🌱

⭐ N

N is INTEGER. It's the order of the matrix A, and N >= 0. Zero is allowed, bestie, but negative is not the move. πŸ™ˆ

πŸ“ AP

AP is a REAL array, dimension (N*(N+1)/2). It holds the upper or lower triangular matrix A, packed columnwise in a linear array. The j-th column of A is stored in the array AP as follows:

if UPLO = 'U', AP((j-1)*j/2 + i) = A(i,j) for 1<=i<=j;
if UPLO = 'L',
   AP((j-1)*(n-j) + j*(j+1)/2 + i-j) = A(i,j) for j<=i<=n.

Packed columnwise, no gaps, no drama β€” okay maybe a little drama. 🫢

🌈 WORK

WORK is a REAL array, dimension (N). It's workspace. It's doing its little job. 🧚

πŸ”₯ RAT

RAT is REAL. It's the test ratio. If both RCOND and RCONDC are nonzero:

RAT = MAX( RCOND, RCONDC )/MIN( RCOND, RCONDC ) - 1.

If RAT = 0, the two estimates are exactly the same. Exactly. The. Same. Periodt. πŸ’€

πŸ‘‘ Author

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

Definition at line 110 of file stpt06.f. Line 110, bestie β€” noted and remembered. πŸ“Œ


🫢 Author 🫢

Generated automatically by Doxygen for LAPACK from the source code. Doxygen really said β€œI'll generate the docs, you go live your life.” ✨


Sign-off time, bestie: the footer source/version is LAPACK Version 3.12.0, and the page is TESTING/LIN/stpt06.f(3). There's no extra printed date hanging out in this footer, so that's the whole closing-line tea. πŸ’…πŸŽ€

πŸ“¦ where this page comes from