DLAPMR(3)
π DLAPMR(3) β rearranging rows like itβs her job β¨
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlapmr.f β bestie, this whole page is literally about that source file. Itβs giving LAPACK source-realness π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine DLAPMR (forwrd, m, n, x, ldx, k)β DLAPMR rearranges rows of a matrix as specified by a permutation vector. π
π«Ά Function/Subroutine Documentation π«Ά
π« subroutine DLAPMR
subroutine DLAPMR (logical forwrd, integer m, integer n, double precision,
dimension( ldx, * ) x, integer ldx, integer, dimension( * ) k)
DLAPMR rearranges rows of a matrix as specified by a permutation vector. No cap. π¦
π Purpose π
Okay so hereβs the tea, bestie: DLAPMR 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. Main character row-shuffling energy π
If FORWRD = .TRUE., thatβs a forward permutation:
X(K(I),*) is moved X(I,*) for I = 1,2,...,M.
If FORWRD = .FALSE., we go backward permutation:
X(I,*) is moved to X(K(I),*) for I = 1,2,...,M.
Thatβs literally the whole vibe check: the forward line saysX(K(I),*)is movedX(I,*), and the backward line saysX(I,*)is moved toX(K(I),*). Iykyk. π
πΈ Parameters πΈ
FORWRDβFORWRD is LOGICAL;= .TRUE.means forward permutation,= .FALSE.means backward permutation. Pick your lane, bestie. β¨MβM is INTEGER; the number of rows of the matrix X.M >= 0. Rows gotta row. πNβN is INTEGER; the number of columns of the matrix X.N >= 0. Cols gotta col. πΈXβX is DOUBLE PRECISION array, dimension (LDX,N); on entry, the M by N matrix X. On exit, X contains the permuted matrix X. She came, she saw, she permuted. πLDXβLDX is INTEGER; the leading dimension of the array X,LDX >= MAX(1,M). ngl, respect the leading dimension, fr fr. πKβK is INTEGER array, dimension (M); on entry, K contains the permutation vector. K is used as internal workspace, but reset to its original value on output. The way she works behind the scenes and then puts herself back together β iconic, periodt. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 103 of file dlapmr.f. Not me knowing exactly where the source lives π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. Automation ate, no crumbs. β¨
xoxo, your LAPACK bestie π β LAPACK Version 3.12.0, footer source: /home/abui...RC/dlapmr.f(3), and date: not shown on this page, so no cap, she didnβt leave one π«Ά
π¦ 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