CPOT03(3)

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

πŸ’– CPOT03(3) / cpot03.f(3) β€” Library Functions Manual πŸ’–

okay so bestie, welcome to the glow-up of a LAPACK manual page 🫢. This is cpot03.f(3) from the Library Functions Manual, and we’re gonna get through it together, no cap.


✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cpot03.f


πŸ’… SYNOPSIS πŸ’…

Under Functions/Subroutines:

   Functions/Subroutines
       subroutine CPOT03 (uplo, n, a, lda, ainv, ldainv, work, ldwork, rwork,
           rcond, resid)
           CPOT03

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

   subroutine CPOT03 (character uplo, integer n, complex, dimension( lda, * )
       a, integer lda, complex, dimension( ldainv, * ) ainv, integer ldainv,
       complex, dimension( ldwork, * ) work, integer ldwork, real, dimension( *
       ) rwork, real rcond, real resid)
       CPOT03

🎯 Purpose

CPOT03 computes the residual for a Hermitian matrix times its inverse:

norm( I - A*AINV ) / ( N * norm(A) * norm(AINV) * EPS )

where EPS is the machine epsilon. Math girl summer, honestly 😭✨.

🧸 Parameters

  • UPLO β€” CHARACTER*1. Specifies whether the upper or lower triangular part of the Hermitian matrix A is stored:
    • = 'U': Upper triangular
    • = 'L': Lower triangular
  • N β€” INTEGER. The number of rows and columns of the matrix A. N >= 0.
  • A β€” COMPLEX array, dimension (LDA,N). The original Hermitian matrix A.
  • LDA β€” INTEGER. The leading dimension of the array A. LDA >= max(1,N).
  • AINV β€” COMPLEX array, dimension (LDAINV,N). On entry, the inverse of the matrix A, stored as a Hermitian matrix in the same format as A.
🚨 Heads up, bestie: in this version, AINV is expanded into a full matrix and multiplied by A, so the opposing triangle of AINV will be changed; i.e., if the upper triangular part of AINV is stored, the lower triangular part will be used as work space. It’s giving β€œwe’re using that side as scrap paper” energy πŸ’€.
  • LDAINV β€” INTEGER. The leading dimension of the array AINV. LDAINV >= max(1,N).
  • WORK β€” COMPLEX array, dimension (LDWORK,N).
  • LDWORK β€” INTEGER. The leading dimension of the array WORK. LDWORK >= max(1,N).
  • RWORK β€” REAL array, dimension (N).
  • RCOND β€” REAL. The reciprocal of the condition number of A, computed as ( 1/norm(A) ) / norm(AINV).
  • RESID β€” REAL. norm(I - A*AINV) / ( N * norm(A) * norm(AINV) * EPS ).

πŸ‘‘ Author

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

Definition at line 124 of file cpot03.f.


🌸 Author 🌸

Generated automatically by Doxygen for LAPACK from the source code.


okay bestie, final footer energy, cute sign-off style: LAPACK, Version 3.12.0, /home/abui...IN/cpot03.f(3) πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from