CSPT03(3)

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

πŸ’… CSPT03(3) β€” Library Functions Manual πŸ’…

okay so bestie, we're in the Library Functions Manual and this whole page is about CSPT03(3). it's giving LAPACK function/subroutine energy, and we're gonna get into every parameter, every formula, every author credit. no skips, no cap. πŸ’–

πŸŽ€ NAME πŸŽ€

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

like yes, that's the whole path, and yes, it's iconic in a deeply nerdy way. 🫢

✨ SYNOPSIS ✨

πŸ¦‹ Functions/Subroutines πŸ¦‹

       subroutine CSPT03 (uplo, n, a, ainv, work, ldw, rwork, rcond, resid)
           CSPT03

🌸 Function/Subroutine Documentation 🌸

   subroutine CSPT03 (character uplo, integer n, complex, dimension( * ) a,
       complex, dimension( * ) ainv, complex, dimension( ldw, * ) work, integer
       ldw, real, dimension( * ) rwork, real rcond, real resid)
       CSPT03

πŸ’– Purpose πŸ’–

okay so CSPT03 computes the residual for a complex symmetric packed matrix times its inverse. the formula is literally:

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

where EPS is the machine epsilon. that's the whole vibe of this routine. πŸ’…

🌈 Parameters 🌈

  • UPLO β€” type CHARACTER*1. tells us whether the upper or lower triangular part of the complex symmetric matrix A is stored:
    • = 'U': Upper triangular
    • = 'L': Lower triangular
  • N β€” type INTEGER. the number of rows and columns of the matrix A. N >= 0.
  • A β€” type COMPLEX array, dimension (N*(N+1)/2). this is the original complex symmetric matrix A, stored as a packed triangular matrix.
  • AINV β€” type COMPLEX array, dimension (N*(N+1)/2). this is the (symmetric) inverse of the matrix A, stored as a packed triangular matrix.
  • WORK β€” type COMPLEX array, dimension (LDW,N).
  • LDW β€” type INTEGER. the leading dimension of the array WORK. LDW >= max(1,N).
  • RWORK β€” type REAL array, dimension (N).
  • RCOND β€” type REAL. the reciprocal of the condition number of A, computed as ( 1/norm(A) ) / norm(AINV).
  • RESID β€” type 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 108 of file cspt03.f.

πŸ‘‘ Author πŸ‘‘

  • Generated automatically by Doxygen for LAPACK from the source code.

okay bestie that's the whole page πŸ’… the footer credits LAPACK Version 3.12.0 and the file /home/abui...IN/cspt03.f(3) β€” no separate date shown in this copy, so no invented date from me, periodt. mwah πŸ’–

πŸ“¦ where this page comes from