DLAPMR(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… 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 says X(K(I),*) is moved X(I,*), and the backward line says X(I,*) is moved to X(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