ZHESWAPR(3)

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

πŸ¦‹ ZHESWAPR(3) πŸ¦‹

okay so bestie, welcome to the Library Functions Manual β€” this is the page for zheswapr.f(3), straight outta the LAPACK fam. buckle up, it's a short one but it's giving ✨linear algebra main character✨


πŸŽ€ NAME πŸŽ€

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

like yes, the NAME section is literally just the whole file path, no cap. that's the vibe. πŸ’…


🌸 SYNOPSIS 🌸

Functions/Subroutines

subroutine ZHESWAPR (uplo, n, a, lda, i1, i2)

ZHESWAPR applies an elementary permutation on the rows and columns of a Hermitian matrix. periodt. that's the whole thing, she's focused πŸ’–


⭐ Function/Subroutine Documentation ⭐

subroutine ZHESWAPR (character uplo, integer n, complex*16, dimension( lda, n ) a, integer lda, integer i1, integer i2)

ZHESWAPR applies an elementary permutation on the rows and columns of a Hermitian matrix. (yes, same line as up top β€” the docs are just like that, we love consistency 🫢)


πŸ’œ Purpose

here's the original declaration block, verbatim, because I refuse to mess with Fortran comments:

!>
!> ZHESWAPR applies an elementary permutation on the rows and the columns of
!> a hermitian matrix.
!>

so like… it swaps rows and columns of a hermitian matrix. elementary permutation. iconic behavior, honestly πŸ‘‘


🌈 Parameters

  • UPLO β€” UPLO is CHARACTER*1. tells us whether the details of the factorization are stored as an upper or lower triangular matrix πŸ‘€
    • = 'U': Upper triangular, form is A = U*D*U**T;
    • = 'L': Lower triangular, form is A = L*D*L**T.
  • N β€” N is INTEGER. the order of the matrix A. and listen: N >= 0. no negative orders, we don't do that here πŸ™…β€β™€οΈ
  • A β€” A is COMPLEX*16 array, dimension (LDA,N). bestie this one's got lore:
    • On entry, the NB diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CSYTRF.
    • On exit, if INFO = 0, the (symmetric) inverse of the original matrix. If UPLO = 'U', the upper triangular part of the inverse is formed and the part of A below the diagonal is not referenced; if UPLO = 'L' the lower triangular part of the inverse is formed and the part of A above the diagonal is not referenced. πŸ¦‹ so like, half of it is literally not referenced, she's mysterious like that.
  • LDA β€” LDA is INTEGER. the leading dimension of the array A. and the rule is LDA >= max(1,N). math said respect the dimension 🌸
  • I1 β€” I1 is INTEGER. index of the first row to swap πŸ₯‡
  • I2 β€” I2 is INTEGER. index of the second row to swap πŸ₯ˆ (it's giving the two rows are swapping, iykyk πŸ’…)

πŸ‘‘ Author

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

squad goals, fr fr 🫢

🌟 Definition at line 101 of file zheswapr.f.


🧚 Author 🧚

Generated automatically by Doxygen for LAPACK from the source code. (so nobody hand-wrote this one, the robot did it and honestly? she ate πŸ’€βœ¨)


and that's the whole page! πŸ’– big sign-off energy: this was LAPACK, Version 3.12.0, live from /home/abui.../zheswapr.f(3) β€” go swap those rows and columns, bestie, you've got this πŸŽ€πŸŒˆβ­

πŸ“¦ where this page comes from