TESTING/LIN/sppt01.f(3)

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

πŸ’– NAME πŸ’–

Okay so this page is literally the manual for TESTING/LIN/sppt01.f(3), under the Library Functions Manual umbrella, and the main-character subroutine is sppt01. Periodt. πŸ’…


🌈 SYNOPSIS 🌈

✨ Functions/Subroutines ✨

  • subroutine sppt01 (uplo, n, a, afac, rwork, resid) β€” SPPT01 (that’s the label, bestie).

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

subroutine sppt01 (character uplo, integer n, real, dimension( * ) a, real,
       dimension( * ) afac, real, dimension( * ) rwork, real resid)

SPPT01

🎯 Purpose 🎯

Bestie, SPPT01 reconstructs a symmetric positive definite packed matrix A from its L*L' or U'*U factorization, then computes the residual. The residual formulas are exactly:

norm( L*L' - A ) / ( N * norm(A) * EPS ) or
norm( U'*U - A ) / ( N * norm(A) * EPS ),

where EPS is the machine epsilon. No cap, that’s the whole mission. 🫢

🧸 Parameters 🧸

  • UPLO β€” UPLO is CHARACTER*1. It specifies whether the upper or lower triangular part of the symmetric matrix A is stored: = 'U': Upper triangular; = 'L': Lower triangular. Pick your lane, upper or lower. πŸ’œ
  • N β€” N is INTEGER. The number of rows and columns of the matrix A. N >= 0. ✨
  • A β€” A is REAL array, dimension (N*(N+1)/2). This is the original symmetric matrix A, stored as a packed triangular matrix. Packed and ready. πŸŽ€
  • AFAC β€” AFAC is REAL array, dimension (N*(N+1)/2). On entry, this is the factor L or U from the L*L' or U'*U factorization of A, stored as a packed triangular matrix. It gets overwritten with the reconstructed matrix, and then with the difference L*L' - A (or U'*U - A). So yeah, it does not stay the same β€” it’s giving transformation. πŸ¦‹
  • RWORK β€” RWORK is REAL array, dimension (N). That’s it, that’s the whole note. 🌸
  • RESID β€” RESID is REAL. If UPLO = 'L', it’s norm(L*L' - A) / ( N * norm(A) * EPS ). If UPLO = 'U', it’s norm(U'*U - A) / ( N * norm(A) * EPS ). Residual math, slay. ⭐

πŸ‘‘ Author πŸ‘‘

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

Definition at line 92 of file sppt01.f.

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for LAPACK from the source code. Iconic automation behavior, honestly. πŸ’«


Sign-off tea: this page comes from LAPACK, Version 3.12.0, and the footer tags it as TESTING/LIN/sppt01.f(3). Date-wise? The page doesn’t list one, so that’s the whole footer vibe β€” no extra date, bestie. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from