TESTING/LIN/cppt01.f(3)

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

πŸŽ€ NAME

hey bestie, welcome to the Library Functions Manual page for TESTING/LIN/cppt01.f(3) β€” the title is TESTING/LIN/cppt01.f, and it is literally all about the cppt01 subroutine. πŸ’…

✨ SYNOPSIS

🧚 Functions/Subroutines

subroutine cppt01 (uplo, n, a, afac, rwork, resid)
    CPPT01

πŸ’… Function/Subroutine Documentation

subroutine cppt01 (character uplo, integer n, complex, dimension( * ) a,
       complex, dimension( * ) afac, real, dimension( * ) rwork, real resid)
    CPPT01

the function name is CPPT01, no cap. 🫢

🌸 Purpose

okay so here’s the tea, fr fr: CPPT01 reconstructs a Hermitian positive definite packed matrix A from its L*L' or U'*U factorization and computes the residual:

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

where EPS is the machine epsilon, L' is the conjugate transpose of L, and U' is the conjugate transpose of U. the Doxygen comment wrappers are all !>, but the real content is that math right there. ✨

πŸ“ Parameters

  • UPLO β€” UPLO is CHARACTER*1. Specifies whether the upper or lower triangular part of the Hermitian matrix A is stored:
    • = 'U': Upper triangular
    • = 'L': Lower triangular
  • N β€” N is INTEGER. The number of rows and columns of the matrix A. N >= 0.
  • A β€” A is COMPLEX array, dimension (N*(N+1)/2). The original Hermitian matrix A, stored as a packed triangular matrix.
  • AFAC β€” AFAC is COMPLEX array, dimension (N*(N+1)/2). On entry, the factor L or U from the L*L' or U'*U factorization of A, stored as a packed triangular matrix. Overwritten with the reconstructed matrix, and then with the difference L*L' - A (or U'*U - A).
  • RWORK β€” RWORK is REAL array, dimension (N).
  • RESID β€” RESID is REAL.
    • If UPLO = 'L', norm(L*L' - A) / ( N * norm(A) * EPS )
    • If UPLO = 'U', norm(U'*U - A) / ( N * norm(A) * EPS )

πŸ‘‘ Author

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

Definition at line 94 of file cppt01.f.

🫢 Author

Generated automatically by Doxygen for LAPACK from the source code.


Final sign-off, bestie: this is LAPACK Version 3.12.0, page TESTING/LIN/cppt01.f(3). The footer does not give a date, so there’s no date to spill β€” just version and page, periodt. 🫢✨

πŸ“¦ where this page comes from