ZLAPMR(3)
π NAME π
okay so this is the manual page for zlapmr(3) β a "Library Functions Manual" entry, and the whole vibe is that it documents a file living at
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlapmr.f
bestie that path is long but we respect it π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine ZLAPMR (forwrd, m, n, x, ldx, k)
ZLAPMR rearranges rows of a matrix as specified by a permutation vector. that's literally the whole job, no cap π
πΈ Function/Subroutine Documentation πΈ
subroutine ZLAPMR (logical forwrd, integer m, integer n, complex*16,
dimension( ldx, * ) x, integer ldx, integer, dimension( * ) k)
ZLAPMR rearranges rows of a matrix as specified by a permutation vector. yes she's that girl π
π¦ Purpose π¦
!>
!> ZLAPMR rearranges the rows of the M by N matrix X as specified
!> by the permutation K(1),K(2),...,K(M) of the integers 1,...,M.
!> If FORWRD = .TRUE., forward permutation:
!>
!> X(K(I),*) is moved X(I,*) for I = 1,2,...,M.
!>
!> If FORWRD = .FALSE., backward permutation:
!>
!> X(I,*) is moved to X(K(I),*) for I = 1,2,...,M.
!>
so like β you hand her a permutation K(1),K(2),...,K(M) of the integers 1,...,M and she shuffles the rows of your M by N matrix X around accordingly. one direction or the other, your call, main character energy β
π Parameters π
FORWRDβFORWRD is LOGICAL, and it picks the direction, iconic:
!> FORWRD is LOGICAL
!> = .TRUE., forward permutation
!> = .FALSE., backward permutation
!>
MβM is INTEGER, the number of rows of the matrixX. andM >= 0.(yes, zero rows is legal, we love an edge case π)
!> M is INTEGER
!> The number of rows of the matrix X. M >= 0.
!>
NβN is INTEGER, the number of columns of the matrixX. alsoN >= 0.β¨
!> N is INTEGER
!> The number of columns of the matrix X. N >= 0.
!>
XβX is COMPLEX*16 array, dimension (LDX,N). on entry she's holding theMbyNmatrixX, and on exitXcontains the permuted matrixX. glow-up complete π
!> X is COMPLEX*16 array, dimension (LDX,N)
!> On entry, the M by N matrix X.
!> On exit, X contains the permuted matrix X.
!>
LDXβLDX is INTEGER, the leading dimension of the arrayX, and she is not flexible about it:LDX >= MAX(1,M).π«Ά
!> LDX is INTEGER
!> The leading dimension of the array X, LDX >= MAX(1,M).
!>
KβK is INTEGER array, dimension (M). on entry,Kcontains the permutation vector. and here's the cute part:Kis used as internal workspace, but it gets reset to its original value on output. she borrows your stuff and puts it back, we stan ππ
!> K is INTEGER array, dimension (M)
!> On entry, K contains the permutation vector. K is used as
!> internal workspace, but reset to its original value on
!> output.
!>
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 103 of file zlapmr.f. π§
β Author β
Generated automatically by Doxygen for LAPACK from the source code. (not a human, just vibes and a parser π)
and that's the whole page, bestie β LAPACK, Version 3.12.0, dated the same as that very long /home/abui...RC/zlapmr.f(3) path up top. go forth and permute responsibly πβ¨
π¦ 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