SLAPMR(3)
π SLAPMR(3) β Library Functions Manual, but make it cute β¨
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slapmr.f
π¦ SYNOPSIS π¦
π§ Functions/Subroutines π§
subroutine SLAPMR (forwrd, m, n, x, ldx, k)β SLAPMR rearranges rows of a matrix as specified by a permutation vector.
π Function/Subroutine Documentation π
subroutine SLAPMR (logical forwrd, integer m, integer n, real, dimension(
ldx, * ) x, integer ldx, integer, dimension( * ) k)
SLAPMR rearranges rows of a matrix as specified by a permutation vector. Periodt. π
π Purpose:
Okay so hereβs the whole assignment, bestie: SLAPMR rearranges the rows of the M by N matrix X as specified by the permutation K(1),K(2),...,K(M) of the integers 1,...,M.
If FORWRD = .TRUE., thatβs the forward permutation:
X(K(I),*) is moved X(I,*) for I = 1,2,...,M.
If FORWRD = .FALSE., thatβs the backward permutation:
X(I,*) is moved to X(K(I),*) for I = 1,2,...,M.
π 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 REAL 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 (M)- 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 slapmr.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Cute sign-off, bestie: the footer source/version line isLAPACKVersion 3.12.0, at/home/abui...RC/slapmr.f(3)β no separate date printed, just timeless LAPACK energy. ππ
π¦ 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