SLAPMT(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… 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 is LDX >= 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