DLASWP(3)
π 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βNis INTEGER. It's the number of columns of the matrixA.AβAis DOUBLE PRECISION array, dimension(LDA,N). On entry, it's the matrix of column dimensionNto which the row interchanges will be applied. On exit, it's the permuted matrix. Glow-up on exit, honestly. β¨LDAβLDAis INTEGER. It's the leading dimension of the arrayA.K1βK1is INTEGER. It's the first element ofIPIVfor which a row interchange will be done.K2βK2is INTEGER.(K2-K1+1)is the number of elements ofIPIVfor which a row interchange will be done.IPIVβIPIVis INTEGER array, dimension(K1+(K2-K1)*abs(INCX)). It's the vector of pivot indices. Only the elements in positionsK1throughK1+(K2-K1)*abs(INCX)ofIPIVare accessed. And this is important:IPIV(K1+(K-K1)*abs(INCX)) = Limplies rowsKandLare to be interchanged. Periodt. π₯INCXβINCXis INTEGER. It's the increment between successive values ofIPIV. IfINCXis 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
- 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