CSYSWAPR(3)
πΈ CSYSWAPR(3) β it's giving "swap these rows and columns" energy πΈ
okay so first things first, the manual name situation: this bad boy lives in the Library Functions Manual, and the page itself is literally /home/abui.../csyswapr.f(3). like, yes, that's the whole header. iconic of them to just. put the path there. π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/csyswapr.f
that's it. that's the name. it's a whole file path bestie, don't ask me why π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine CSYSWAPR (uplo, n, a, lda, i1, i2)
CSYSWAPR β that's the whole description in the synopsis, and honestly? slay, they said "the name says it all" and moved on. π
π Function/Subroutine Documentation π
subroutine CSYSWAPR (character uplo, integer n, complex, dimension( lda, n )
a, integer lda, integer i1, integer i2)
CSYSWAPR π
π Purpose π
CSYSWAPR applies an elementary permutation on the rows and the columns of a symmetric matrix.
so like, no cap: it takes your symmetric matrix and does that one elementary permutation thing on both the rows and the columns. symmetric behaviour for a symmetric matrix, we love consistency. π«Ά
π Parameters π
UPLOβUPLO is CHARACTER*1. this one tells the routine 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 it'sN >= 0, so no negatives pls. πAβA is COMPLEX array, dimension (LDA,N). on entry, theN-by-NmatrixA. on exit, the permuted matrix where the rowsI1andI2and columnsI1andI2are interchanged. and here's the tea π: ifUPLO = 'U', the interchanges are applied to the upper triangular part and the strictly lower triangular part ofAis not referenced; ifUPLO = 'L', the interchanges are applied to the lower triangular part and the part ofAabove the diagonal is not referenced. so half of your matrix is just vibing in the background, untouched, unbothered, main character of nothing. πLDAβLDA is INTEGER. the leading dimension of the arrayA.LDA >= max(1,N). that's the rule, fr fr.I1βI1 is INTEGER. index of the first row to swap. πI2βI2 is INTEGER. index of the second row to swap. π
β Author β
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
all of them. collectively. the group project actually got finished. ππ
Definition at line 99 of file csyswapr.f.
line 99 specifically. noted. π§
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code.
not a human, not a vibe curator, just Doxygen doing its little thing automatically. lowkey impressive, highkey impersonal. π€β¨
and that's the page bestie! go swap those rows and columns, stay symmetric, and remember: the strictly lower triangular part is not referenced when UPLO = 'U'. periodt. π
LAPACK β Version 3.12.0 π¦ and the page footer goes by /home/abui.../csyswapr.f(3), so that's the little signature at the bottom. mwah, bye! ππ
π¦ 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