DLASWP(3)

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

πŸ’… DLASWP(3) β€” the row-interchange bestie πŸ’…

Okay so this is the dlaswp.f(3) page from the Library Functions Manual, and it's literally about DLASWP doing a series of row interchanges on a general rectangular matrix. No cap, that's the whole vibe. 🫢


πŸ’– NAME πŸ’–

The name is this exact file path:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlaswp.f

That's it. That's the name. πŸ’…


✨ SYNOPSIS ✨

Under Functions/Subroutines:

subroutine DLASWP (n, a, lda, k1, k2, ipiv, incx)

DLASWP performs a series of row interchanges on a general rectangular matrix. Iconic behavior, honestly. πŸ¦‹


🫢 Function/Subroutine Documentation 🫢

subroutine DLASWP (integer n, double precision, dimension( lda, * ) a,
       integer lda, integer k1, integer k2, integer, dimension( * ) ipiv,
       integer incx)

DLASWP performs a series of row interchanges on a general rectangular matrix. Yes, we said it before, but the manpage says it again and we respect the repetition. πŸ’–

🌸 Purpose 🌸

Okay so the purpose block is clear: DLASWP performs a series of row interchanges on the matrix A. One row interchange is initiated for each of rows K1 through K2 of A. That's the assignment, bestie. πŸŽ€

πŸŽ€ Parameters πŸŽ€

  • N β€” N is INTEGER. It's the number of columns of the matrix A.
  • A β€” A is DOUBLE PRECISION array, dimension (LDA,N). On entry, it's the matrix of column dimension N to which the row interchanges will be applied. On exit, it's the permuted matrix. Glow-up on exit, honestly. ✨
  • LDA β€” LDA is INTEGER. It's the leading dimension of the array A.
  • K1 β€” K1 is INTEGER. It's the first element of IPIV for which a row interchange will be done.
  • K2 β€” K2 is INTEGER. (K2-K1+1) is the number of elements of IPIV for which a row interchange will be done.
  • IPIV β€” IPIV is INTEGER array, dimension (K1+(K2-K1)*abs(INCX)). It's the vector of pivot indices. Only the elements in positions K1 through K1+(K2-K1)*abs(INCX) of IPIV are accessed. And this is important: IPIV(K1+(K-K1)*abs(INCX)) = L implies rows K and L are to be interchanged. Periodt. πŸ”₯
  • INCX β€” INCX is INTEGER. It's the increment between successive values of IPIV. If INCX is negative, the pivots are applied in reverse order. Reverse-order pivot application is giving plot-twist energy. 😭

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

πŸ¦‹ Further Details πŸ¦‹

Modified by R. C. Whaley, Computer Science Dept., Univ. of Tenn., Knoxville, USA. Respect the modifier. 🫑

Definition at line 114 of file dlaswp.f.


πŸ“œ Author πŸ“œ

Generated automatically by Doxygen for LAPACK from the source code. The robots made this page, and they ate. πŸ€–πŸ’…


LAPACK Version 3.12.0 β€” footer path: /home/abui...RC/dlaswp.f(3) β€” mwah, bye bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from