SRC/zlapmt.f(3)
NAME
SRC/zlapmt.f β okay so this is the SRC/zlapmt.f(3) page from the Library Functions Manual, and it's all about the zlapmt subroutine. That's the name, bestie. β¨
SYNOPSIS
Functions/Subroutines
subroutine zlapmt (forwrd, m, n, x, ldx, k)
ZLAPMT performs a forward or backward permutation of the columns of a matrix. π
Function/Subroutine Documentation
subroutine zlapmt β the full signature
subroutine zlapmt (logical forwrd, integer m, integer n, complex*16,
dimension( ldx, * ) x, integer ldx, integer, dimension( * ) k)
ZLAPMT performs a forward or backward permutation of the columns of a matrix. π¦
Purpose
ZLAPMT 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. No cap.
If FORWRD = .TRUE., that's the forward permutation:
X(*,K(J)) is moved X(*,J) for J = 1,2,...,N.
If FORWRD = .FALSE., that's the backward permutation:
X(*,J) is moved to X(*,K(J)) for J = 1,2,...,N.
Parameters
FORWRDβFORWRD is LOGICAL= .TRUE., forward permutation= .FALSE., backward permutation
MβM is INTEGER- The number of rows of the matrix
X.M >= 0. π«Ά
- The number of rows of the matrix
NβN is INTEGER- The number of columns of the matrix
X.N >= 0. πΈ
- The number of columns of the matrix
XβX is COMPLEX*16 array, dimension (LDX,N)- On entry, the
MbyNmatrixX. - On exit,
Xcontains the permuted matrixX. π
- On entry, the
LDXβLDX is INTEGER- The leading dimension of the array
X,LDX >= MAX(1,M). β
- The leading dimension of the array
KβK is INTEGER array, dimension (N)- On entry,
Kcontains the permutation vector.Kis used as internal workspace, but reset to its original value on output. π
- On entry,
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 103 of file zlapmt.f. π
Author
Generated automatically by Doxygen for LAPACK from the source code. πβ¨
okay that's the whole page, bestie β cute little sign-off: this is LAPACK Version 3.12.0, page SRC/zlapmt.f(3). Stay permuted, stay iconic. π
π
π¦ 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