SLAPMT(3)
π SLAPMT(3) β bestie, it's a LAPACK thing
okay so real talk, this page lives in the Library Functions Manual, and the actual file it's describing is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slapmt.f
like yes that's a whole mouthful but that's literally where she lives π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slapmt.f
that's it, that's the name, it's giving "my parents named me after the street they met on" π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine SLAPMT (forwrd, m, n, x, ldx, k)β SLAPMT performs a forward or backward permutation of the columns of a matrix.
πΈ Function/Subroutine Documentation πΈ
subroutine SLAPMT (logical forwrd, integer m, integer n, real, dimension(
ldx, * ) x, integer ldx, integer, dimension( * ) k)
SLAPMT performs a forward or backward permutation of the columns of a matrix. periodt. π
π Purpose:
SLAPMT rearranges the columns of the M by N matrix X as specified by the permutation K(1),K(2),...,K(N) of the integers 1,...,N.
If FORWRD = .TRUE., forward permutation:
X(*,K(J)) is moved X(*,J) for J = 1,2,...,N.
If FORWRD = .FALSE., backward permutation:
X(*,J) is moved to X(*,K(J)) for J = 1,2,...,N.
like, she's just shuffling your columns around, no cap. same matrix, new order, slay β¨
π Parameters π
FORWRDβFORWRD is LOGICAL, bestie, and it's literally just a vibe switch:= .TRUE.,forward permutation= .FALSE.,backward permutation
MβM is INTEGER. The number of rows of the matrix X. Constraint:M >= 0.(yes, zero rows is allowed, we don't judge π)NβN is INTEGER. The number of columns of the matrix X. Constraint:N >= 0.same energy πXβX is REAL array, dimension (LDX,N). On entry, the M by N matrix X. On exit, X contains the permuted matrix X. so she goes in one girl and comes out the other side all rearranged, main character energy fr fr π₯LDXβLDX is INTEGER. The leading dimension of the array X, and the requirement isLDX >= MAX(1,M).do not skip that, iykyk πKβK is INTEGER array, dimension (N). On entry, K contains the permutation vector. heads up tho β οΈ: K is used as internal workspace, but reset to its original value on output. so she borrows your array, scribbles on it, then cleans it up before she leaves. iconic behavior honestly π«Ά
β Author β
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
four whole institutions collaborated on this, that's a group project that actually finished, we love to see it π
Definition at line 103 of file slapmt.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
(not me being generated by a documentation tool, she's literally a bot and still ate π )
and that's the whole page bestie!! LAPACK, Version 3.12.0, brought to you from /home/abui...RC/slapmt.f(3) β mwah, go permute some columns 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