/home/abui...hetrs_aa.f(3)

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

πŸ‘‘ /home/abui...hetrs_aa.f(3) β€” Library Functions Manual energy ✨

okay so bestie, welcome to the glow-up zone πŸ’… this is a page from the Library Functions Manual, and it's literally the documentation for one very specific LAPACK file. buckle up, we're getting into it πŸŽ€


✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/chetrs_aa.f

that's the whole name, no cap. it's giving "my full government name is a file path" 😭 but honestly? iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

Functions/Subroutines

subroutine CHETRS_AA (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork,
    info)

CHETRS_AA β€” that's her. that's the main character πŸ‘‘


🌸 Function/Subroutine Documentation 🌸

subroutine CHETRS_AA (character uplo, integer n, integer nrhs, complex,
    dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
    complex, dimension( ldb, * ) b, integer ldb, complex, dimension( * )
    work, integer lwork, integer info)

CHETRS_AA πŸ’– (the long-form signature, for when you need to see everything)

Purpose: πŸ’«

!>
!> CHETRS_AA solves a system of linear equations A*X = B with a complex
!> hermitian matrix A using the factorization A = U**H*T*U or
!> A = L*T*L**H computed by CHETRF_AA.
!>

so basically she solves A*X = B for you when A is a complex hermitian matrix 🧚 and she does it using the factorization that CHETRF_AA already did the hard work of computing. teamwork, bestie 🫢


πŸ’œ Parameters πŸ’œ

  • UPLO β€” UPLO is CHARACTER*1. tells us whether the factorization details got stored as an upper or lower triangular matrix. the options are:
    • = 'U': upper triangular, form is A = U**H*T*U;
    • = 'L': lower triangular, form is A = L*T*L**H.
  • N β€” N is INTEGER. the order of the matrix A. and the rule is N >= 0 πŸ™…β€β™€οΈ no negativity allowed.
  • NRHS β€” NRHS is INTEGER. the number of right hand sides, i.e., the number of columns of the matrix B. constraint: NRHS >= 0 βœ…
  • A β€” A is COMPLEX array, dimension (LDA,N). this is where the details of the factors computed by CHETRF_AA live 🏠
  • LDA β€” LDA is INTEGER. the leading dimension of the array A, and you must have LDA >= max(1,N) ⚠️ don't test her.
  • IPIV β€” IPIV is INTEGER array, dimension (N). details of the interchanges as computed by CHETRF_AA πŸ”„
  • B β€” B is COMPLEX array, dimension (LDB,NRHS). on entry: the right hand side matrix B. on exit: the solution matrix X. she really said "same array, new me" πŸ’…βœ¨
  • LDB β€” LDB is INTEGER. the leading dimension of the array B. requirement: LDB >= max(1,N) 🚨
  • WORK β€” WORK is COMPLEX array, dimension (MAX(1,LWORK)) πŸ› οΈ
  • LWORK β€” LWORK is INTEGER. the dimension of the array WORK, and the rule is LWORK >= max(1,3*N-2) πŸ“ memorize it, iykyk.
  • INFO β€” INFO is INTEGER. the vibe check at the end:
    • = 0: successful exit πŸŽ‰
    • < 0: if INFO = -i, the i-th argument had an illegal value πŸ’€ (rude, but she's telling you which one)

πŸŽ€ Author πŸŽ€

the legends behind it:

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

πŸ“– Definition at line 129 of file chetrs_aa.f. πŸ“–


🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code. she didn't write herself, bestie β€” the robots did πŸ€–βœ¨


fr fr that's the whole page. every flag, every constraint, every author, all accounted for. periodt. πŸ’…

LAPACK β€” Version 3.12.0 β€” and that footer date lives at /home/abui...hetrs_aa.f(3) πŸ¦‹πŸŒΈ mwah, go solve some linear systems 🫢πŸ”₯

πŸ“¦ where this page comes from