ZHESWAPR(3)
π¦ 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 isA = U*D*U**T;= 'L': Lower triangular, form isA = L*D*L**T.
NβN is INTEGER. the order of the matrixA. 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
NBdiagonal matrixDand the multipliers used to obtain the factorUorLas computed byCSYTRF. - On exit, if
INFO = 0, the (symmetric) inverse of the original matrix. IfUPLO = 'U', the upper triangular part of the inverse is formed and the part ofAbelow the diagonal is not referenced; ifUPLO = 'L'the lower triangular part of the inverse is formed and the part ofAabove the diagonal is not referenced. π¦ so like, half of it is literally not referenced, she's mysterious like that.
- On entry, the
LDAβLDA is INTEGER. the leading dimension of the arrayA. and the rule isLDA >= 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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms