SSYSWAPR(3)
π¦ ssyswapr.f(3) β Library Functions Manual π¦
okay bestie so this is page ssyswapr.f(3), and it lives in the LAPACK manual β the Library Functions Manual, to be exact. Let's get into it β¨
π NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ssyswapr.f
that's the file, that's the whole name, she's long and she's iconic, no cap π
β¨ SYNOPSIS
Functions/Subroutines πΈ
subroutine SSYSWAPR (uplo, n, a, lda, i1, i2)β SSYSWAPR applies an elementary permutation on the rows and columns of a symmetric matrix. that's it, that's the vibe π
π Function/Subroutine Documentation
subroutine SSYSWAPR (character uplo, integer n, real, dimension( lda, * ) a,
integer lda, integer i1, integer i2)
SSYSWAPR applies an elementary permutation on the rows and columns of a symmetric matrix. she's a swapper, she's a permuter, she does one job and she ate π₯
π― Purpose
!>
!> SSYSWAPR applies an elementary permutation on the rows and the columns of
!> a symmetric matrix.
!>
literally the whole purpose, right there, in a comment block with !> on every line because that's how Fortran doxxes its docstrings π
π§ Parameters
UPLO
!> UPLO is CHARACTER*1
!> Specifies 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.
!>
UPLO is CHARACTER*1 and it's the main character deciding where the factorization details get stored β upper or lower triangular, bestie, pick a lane π
= '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 matrix A. N >= 0.
!>
N is INTEGER, she's the order of the matrix A, and N >= 0. zero is allowed, negative is not, periodt π
A
!> A is REAL array, dimension (LDA,*)
!> On entry, the N-by-N matrix A. On exit, the permuted matrix
!> where the rows I1 and I2 and columns I1 and I2 are interchanged.
!> If UPLO = 'U', the interchanges are applied to the upper
!> triangular part and the strictly lower triangular part of A is
!> not referenced; if UPLO = 'L', the interchanges are applied to
!> the lower triangular part and the part of A above the diagonal
!> is not referenced.
!>
A is a REAL array, dimension (LDA,*). on entry she's the N-by-N matrix A π«Ά on exit she's the permuted matrix where the rows I1 and I2 and columns I1 and I2 are interchanged. glow-up fr fr.
and like, pay attention to the fine print because this part matters:
- if
UPLO = 'U', the interchanges are applied to the upper triangular part, and the strictly lower triangular part ofAis not referenced - if
UPLO = 'L', the interchanges are applied to the lower triangular part, and the part ofAabove the diagonal is not referenced
so like, half of A is just sitting there unbothered, not even looked at π
LDA
!> LDA is INTEGER
!> The leading dimension of the array A. LDA >= max(1,N).
!>
LDA is INTEGER, the leading dimension of the array A, and she must satisfy LDA >= max(1,N). no negotiating on that one β
I1
!> I1 is INTEGER
!> Index of the first row to swap
!>
I1 is INTEGER β the index of the first row to swap π
I2
!> I2 is INTEGER
!> Index of the second row to swap
!>
I2 is INTEGER β the index of the second row to swap. her and I1 are a package deal, you can't have one without the other π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad behind this, we stan π
Definition at line 99 of file ssyswapr.f. line ninety-nine, iconic number, no notes π§
π Author
Generated automatically by Doxygen for LAPACK from the source code. not a human, not a bot bestie exactly, just Doxygen doing her little autogenerated thing β¨
heads up: this page was auto-generated by Doxygen from the source code, so if something looks weird, blame the generator, not the queens at Univ. of Tennessee, Berkeley, Colorado Denver, and NAG Ltd. π
okay that's the whole page, mwah π β LAPACK Version 3.12.0, from /home/abui.../ssyswapr.f(3), and that's the sign-off bestie, love u, go swap some rows π«Ά
π¦ 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