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β isLOGICAL;= .TRUE.means forward permutation,= .FALSE.means backward permutation. Lowkey the switch for the whole direction situation. πMβ isINTEGER; the number of rows of the matrixX.M >= 0. Respect the row count. β¨Nβ isINTEGER; the number of columns of the matrixX.N >= 0. The column count is also iconic. πXβ isCOMPLEX array, dimension (LDX,N); on entry, theMbyNmatrixX; on exit,Xcontains the permuted matrixX. It comes back changed, bestie. πLDXβ isINTEGER; the leading dimension of the arrayX,LDX >= MAX(1,M). Donβt play with the leading dimension. π¨Kβ isINTEGER array, dimension (N); on entry,Kcontains the permutation vector.Kis 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
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms