CHETRS(3)

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

πŸ’– NAME

okay so bestie, this is the manual page for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/chetrs.f, straight out of the Library Functions Manual ✨ (yes, the whole giant build path is genuinely the name, we don't make the rules, the auto-generator does 😭).


✨ SYNOPSIS ✨

🌸 Functions/Subroutines

subroutine CHETRS (uplo, n, nrhs, a, lda, ipiv, b, ldb, info)

CHETRS β€” that's her, that's the icon πŸ‘‘


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

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

CHETRS πŸ’… (yes they really do write the name twice, it's giving main character energy fr fr)

πŸŽ€ Purpose

!> CHETRS solves a system of linear equations A*X = B with a complex Hermitian matrix A using the factorization A = U*D*UH or A = L*D*LH computed by CHETRF.

so basically: you already did the whole factorization thing with CHETRF, and now she's here to actually solve A*X = B for you, where A is a complex Hermitian matrix 🌈. You don't redo the factorization, you just hand her the pieces and she handles the rest. obsessed honestly 🫢

🧚 Parameters

πŸ’œ UPLO

UPLO is CHARACTER*1 β€” it tells her whether the factorization details are chilling as an upper or lower triangular matrix ✨

  • = 'U' β€” upper triangular, and the form is A = U*D*U**H
  • = 'L' β€” lower triangular, and the form is A = L*D*L**H

pick one, bestie, those are literally the two options πŸŽ€

πŸ’œ N

N is INTEGER β€” the order of the matrix A, and N >= 0 ⭐

πŸ’œ NRHS

NRHS is INTEGER β€” the number of right hand sides, aka the number of columns of the matrix B, and NRHS >= 0 πŸ¦‹

πŸ’œ A

A is COMPLEX array, dimension (LDA,N) β€” this is where the block diagonal matrix D lives, plus the multipliers used to get the factor U or L, exactly as computed by CHETRF πŸ‘‘

πŸ’œ LDA

LDA is INTEGER β€” the leading dimension of the array A, and LDA >= max(1,N) πŸ’…

πŸ’œ IPIV

IPIV is INTEGER array, dimension (N) β€” the deets on the interchanges and the block structure of D, as determined by CHETRF πŸ”₯

πŸ’œ B

B is COMPLEX array, dimension (LDB,NRHS) 🌸

  • on entry: the right hand side matrix B
  • on exit: the solution matrix X

she literally swaps it in place, iconic behaviour, no cap πŸ’€

πŸ’œ LDB

LDB is INTEGER β€” the leading dimension of the array B, and LDB >= max(1,N) ✨

πŸ’œ INFO

INFO is INTEGER β€” the vibe report 😌

  • = 0 β€” successful exit, slay πŸŽ‰
  • < 0 β€” if INFO = -i, the i-th argument had an illegal value πŸ™ˆ

🫢 Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.
Definition at line 119 of file chetrs.f. πŸ“

πŸ‘‘ Author

Generated automatically by Doxygen for LAPACK from the source code πŸ€–βœ¨ (she didn't write her own bio, the robots did it for her)


and that's the whole page, bestie πŸ’– this was brought to you by LAPACK Version 3.12.0, living at /home/abui...RC/chetrs.f(3) β€” mwah, go solve something πŸŽ€πŸ’…πŸ¦‹

πŸ“¦ where this page comes from