SRC/cla_hercond_c.f(3)

πŸ’… SRC/cla_hercond_c.f

okay so this is a page from the LAPACK manual (Library Functions Manual energy) and honestly? she's a whole legend. sit down bestie, we're learning about cla_hercond_c πŸŽ€


✨ SYNOPSIS ✨

🌸 Functions/Subroutines

  • real function cla_hercond_c (uplo, n, a, lda, af, ldaf, ipiv, c, capply, info, work, rwork) β€” CLA_HERCOND_C computes the infinity norm condition number of op(A)*inv(diag(c)) for Hermitian indefinite matrices. that's the whole vibe, no cap πŸ’…

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

⭐ the function herself

real function cla_hercond_c (character uplo, integer n, complex, dimension(
    lda, * ) a, integer lda, complex, dimension( ldaf, * ) af, integer ldaf,
    integer, dimension( * ) ipiv, real, dimension ( * ) c, logical capply,
    integer info, complex, dimension( * ) work, real, dimension( * ) rwork)

CLA_HERCOND_C computes the infinity norm condition number of op(A)*inv(diag(c)) for Hermitian indefinite matrices. she's giving main character energy, lowkey 🫢


🎯 Purpose:

!>
!>    CLA_HERCOND_C computes the infinity norm condition number of
!>    op(A) * inv(diag(C)) where C is a REAL vector.
!>

like, literally the infinity norm condition number of op(A) * inv(diag(C)), and C is a REAL vector. that's it, that's the whole job ✨


🧚 Parameters

  • UPLO β€” is CHARACTER*1. which triangle of A are we even working with, bestie?
    • = 'U': Upper triangle of A is stored;
    • = 'L': Lower triangle of A is stored.
  • N β€” is INTEGER. the number of linear equations, i.e., the order of the matrix A. and it's gotta be N >= 0. no negatives, we don't do that here πŸ’€
  • A β€” is COMPLEX array, dimension (LDA,N). On entry, the N-by-N matrix A. iconic, no notes.
  • LDA β€” is INTEGER. the leading dimension of the array A. you need LDA >= max(1,N). rules are rules πŸŽ€
  • AF β€” is COMPLEX array, dimension (LDAF,N). it's the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CHETRF. bestie CHETRF did the heavy lifting, we're just vibing off her work πŸ’…
  • LDAF β€” is INTEGER. the leading dimension of the array AF. LDAF >= max(1,N). periodt.
  • IPIV β€” is INTEGER array, dimension (N). all the details of the interchanges and the block structure of D as determined by CHETRF. iykyk πŸ”₯
  • C β€” is REAL array, dimension (N). The vector C in the formula op(A) * inv(diag(C)). she's literally in the formula, that's her whole thing ✨
  • CAPPLY β€” is LOGICAL. If .TRUE. then access the vector C in the formula above. simple as πŸ¦‹
  • INFO β€” is INTEGER. the vibe check report:
    • = 0: Successful exit.
    • i > 0: The ith argument is invalid. not her fault, somebody handed her bad data 😭
  • WORK β€” is COMPLEX array, dimension (2*N). Workspace. that's literally all it says and honestly? respect the brevity 🌸
  • RWORK β€” is REAL array, dimension (N). Workspace. same energy, different array πŸŽ€

πŸ‘‘ Author

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.


πŸ“ Definition at line 136 of file cla_hercond_c.f.


πŸ’– Author

Generated automatically by Doxygen for LAPACK from the source code.


and that's the whole page bestie!! 🫢 source is <pink>LAPACK</pink>, Version 3.12.0, dated SRC/cla_hercond_c.f(3) β€” go be iconic with your Hermitian indefinite matrices, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from