SRC/chetrs2.f(3)

okay so this is SRC/chetrs2.f(3), a page from the Library Functions Manual, and it's literally all about the subroutine CHETRS2. Buckle up, bestie. πŸŽ€

πŸ’– NAME πŸ’–

SRC/chetrs2.f β€” that's the file this page documents. Periodt.

🌸 SYNOPSIS 🌸

Functions/Subroutines

The exact signature is giving main-character Fortran energy:

subroutine chetrs2 (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 info)

CHETRS2 β€” that's the routine name. Iconic.

πŸŽ€ Function/Subroutine Documentation πŸŽ€

subroutine chetrs2

subroutine chetrs2 (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 info)

The routine is CHETRS2, and yes, it's the same signature as above β€” the original page repeats it, so I'm keeping the full detail. 🫢

πŸ¦‹ Purpose πŸ¦‹

CHETRS2 solves a system of linear equations A*X = B with a complex Hermitian matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by CHETRF and converted by CSYCONV. That's the whole mood. πŸ’œ

🌟 Parameters 🌟

  • UPLO β€” is CHARACTER*1. It tells you whether the details of the factorization are stored as an upper or lower triangular matrix. = 'U': upper triangular, form is A = U*D*U**H; = 'L': lower triangular, form is A = L*D*L**H.
  • N β€” is INTEGER. The order of the matrix A. N >= 0.
  • NRHS β€” is INTEGER. The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
  • A β€” is COMPLEX array, dimension (LDA,N). The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CHETRF.
  • LDA β€” is INTEGER. The leading dimension of the array A. LDA >= max(1,N).
  • IPIV β€” is INTEGER array, dimension (N). Details of the interchanges and the block structure of D as determined by CHETRF.
  • B β€” is COMPLEX array, dimension (LDB,NRHS). On entry, the right hand side matrix B. On exit, the solution matrix X.
  • LDB β€” is INTEGER. The leading dimension of the array B. LDB >= max(1,N).
  • WORK β€” is COMPLEX array, dimension (N).
  • INFO β€” is INTEGER. = 0: successful exit. < 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 125 of file chetrs2.f.

πŸ‘‘ Author (the auto-generated one) πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.


byeee! πŸ’… LAPACK Version 3.12.0, page SRC/chetrs2.f(3). The original footer doesn't give a separate date, so I'm not making one up β€” stay slaying those Hermitian systems, bestie! 🫢

πŸ“¦ where this page comes from