CPPT02(3)

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

πŸ’– NAME πŸ’–

Okay so this page is for the file /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cppt02.f β€” yes, the whole entire path, bestie, no trimming. It's the cppt02.f(3) page from the Library Functions Manual, and it's giving very specific LAPACK testing energy. πŸ’…


✨ SYNOPSIS ✨

πŸ¦‹ Functions/Subroutines πŸ¦‹

Here's the vibe check, literally:

       subroutine CPPT02 (uplo, n, nrhs, a, x, ldx, b, ldb, rwork, resid)
           CPPT02

🫢 Function/Subroutine Documentation 🫢

The full signature is exactly this, no cap:

   subroutine CPPT02 (character uplo, integer n, integer nrhs, complex,
       dimension( * ) a, complex, dimension( ldx, * ) x, integer ldx, complex,
       dimension( ldb, * ) b, integer ldb, real, dimension( * ) rwork, real
       resid)

And the subroutine is simply CPPT02. Iconic.

πŸŽ€ Purpose πŸŽ€

CPPT02 computes the residual in the solution of a Hermitian system of linear equations A*x = b when packed storage is used for the coefficient matrix. The ratio computed is literally:

RESID = norm(B - A*X) / ( norm(A) * norm(X) * EPS),

where EPS is the machine precision. Math girlie moment. ✨

🌸 Parameters 🌸

  • UPLO β€” is CHARACTER*1 and tells you which triangular part of the Hermitian matrix A is stored, fr:
    • = 'U': Upper triangular
    • = 'L': Lower triangular
  • N β€” is INTEGER, the number of rows and columns of the matrix A. N >= 0.
  • NRHS β€” is INTEGER, the number of columns of B, the matrix of right hand sides. NRHS >= 0.
  • A β€” is COMPLEX array, dimension (N*(N+1)/2). It's the original Hermitian matrix A, stored as a packed triangular matrix.
  • X β€” is COMPLEX array, dimension (LDX,NRHS). These are the computed solution vectors for the system of linear equations.
  • LDX β€” is INTEGER, the leading dimension of the array X. LDX >= max(1,N).
  • B β€” is COMPLEX array, dimension (LDB,NRHS). On entry, it's the right hand side vectors for the system of linear equations. On exit, B is overwritten with the difference B - A*X.
  • LDB β€” is INTEGER, the leading dimension of the array B. LDB >= max(1,N).
  • RWORK β€” is REAL array, dimension (N).
  • RESID β€” is REAL. It's the maximum over the number of right hand sides of norm(B - A*X) / ( norm(A) * norm(X) * EPS ).

🌈 Author 🌈

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

Definition at line 121 of file cppt02.f. 🫢


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.


That's the whole page, bestie β€” LAPACK Version 3.12.0, cppt02.f(3). You ate. πŸŽ€πŸ’–

πŸ“¦ where this page comes from