SRC/clapmt.f(3)

πŸ’… SRC/clapmt.f(3) β€” Library Functions Manual, but make it group chat πŸ’…

okay bestie, welcome to the SRC/clapmt.f(3) page. The manual-name energy here is Library Functions Manual, and I’m folding that in right at the top so we don’t waste a whole fancy header line on it. This is the clapmt lore, and it’s giving β€œcolumn permutation but make it Fortran.” πŸ’–


NAME

SRC/clapmt.f β€” literally the name. That’s the whole crumb. πŸŽ€


SYNOPSIS

Functions/Subroutines ✨

  • subroutine clapmt (forwrd, m, n, x, ldx, k) β€” CLAPMT performs a forward or backward permutation of the columns of a matrix. No cap, that’s the one-liner. πŸ¦‹

✨ Function/Subroutine Documentation ✨

Here’s the full signature, exactly as it appears, bestie:

subroutine clapmt (logical forwrd, integer m, integer n, complex, dimension(
       ldx, * ) x, integer ldx, integer, dimension( * ) k)

CLAPMT performs a forward or backward permutation of the columns of a matrix. That’s the main-character job. πŸ‘‘


Purpose πŸ’–

Okay so CLAPMT 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. That’s the whole vibe. 🌸

If FORWRD = .TRUE., it’s a forward permutation:

X(*,K(J)) is moved X(*,J) for J = 1,2,...,N.

If FORWRD = .FALSE., it’s a backward permutation:

X(*,J) is moved to X(*,K(J)) for J = 1,2,...,N.

Parameters 🫢

  • FORWRD β€” is LOGICAL; = .TRUE. means forward permutation, = .FALSE. means backward permutation. Lowkey the switch for the whole direction situation. πŸ”
  • M β€” is INTEGER; the number of rows of the matrix X. M >= 0. Respect the row count. ✨
  • N β€” is INTEGER; the number of columns of the matrix X. N >= 0. The column count is also iconic. πŸŽ€
  • X β€” is COMPLEX array, dimension (LDX,N); on entry, the M by N matrix X; on exit, X contains the permuted matrix X. It comes back changed, bestie. πŸ’…
  • LDX β€” is INTEGER; the leading dimension of the array X, LDX >= MAX(1,M). Don’t play with the leading dimension. 🚨
  • K β€” is INTEGER array, dimension (N); on entry, K contains the permutation vector. K is used as internal workspace, but reset to its original value on output. It does the behind-the-scenes work and then puts itself back, fr fr. 🧚

Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Definition at line 103 of file clapmt.f.


Author (the generated one) πŸ€–

Generated automatically by Doxygen for LAPACK from the source code.


That’s the whole page, bestie β€” no missing flags, no skipped parameter crumbs, no invented lore. Periodt. πŸ’–βœ¨

The footer vibe is: LAPACK, Version 3.12.0, source SRC/clapmt.f(3) β€” that’s the cute sign-off. πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from