laswp(3)
π laswp(3) π
okay so bestie, welcome to the Library Functions Manual glow-up for laswp. This is the row-swap group chat: claswp, dlaswp, slaswp, and zlaswp, all doing their general rectangular matrix row-interchange thing. No cap, every detail is staying exactly where it was β only the vibe is getting main-character energy. β¨
πΈ NAME πΈ
laswp β laswp: swap permutation
β¨ SYNOPSIS β¨
β¨ Functions β¨
subroutine claswp (n, a, lda, k1, k2, ipiv, incx)β CLASWP performs a series of row interchanges on a general rectangular matrix.subroutine dlaswp (n, a, lda, k1, k2, ipiv, incx)β DLASWP performs a series of row interchanges on a general rectangular matrix.subroutine slaswp (n, a, lda, k1, k2, ipiv, incx)β SLASWP performs a series of row interchanges on a general rectangular matrix.subroutine zlaswp (n, a, lda, k1, k2, ipiv, incx)β ZLASWP performs a series of row interchanges on a general rectangular matrix.
π DETAILED DESCRIPTION π
This is the detailed-description zone, and honestly itβs all about the function docs right below, bestie. No extra side quests here β the row-interchange lore lives in the four function entries. Periodt. π
π FUNCTION DOCUMENTATION π
Four functions, one row-swapping mission. The type of A is the little glow-up between them; the signature shape stays iconic. Letβs go. π«Ά
π¦ claswp π¦
subroutine claswp (integer n, complex, dimension( lda, * ) a, integer lda,
integer k1, integer k2, integer, dimension( * ) ipiv, integer incx)
CLASWP performs a series of row interchanges on a general rectangular matrix.
π Purpose π
CLASWP performs a series of row interchanges on the matrixA. One row interchange is initiated for each of rowsK1throughK2ofA.
π Parameters π
NβNisINTEGER. Itβs the number of columns of the matrixA.AβAisCOMPLEXarray, 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.LDAβLDAisINTEGER. Itβs the leading dimension of the arrayA.K1βK1isINTEGER. Itβs the first element ofIPIVfor which a row interchange will be done.K2βK2isINTEGER.(K2-K1+1)is the number of elements ofIPIVfor which a row interchange will be done.IPIVβIPIVisINTEGERarray, dimension(K1+(K2-K1)*abs(INCX)). Itβs the vector of pivot indices. Only the elements in positionsK1throughK1+(K2-K1)*abs(INCX)ofIPIVare accessed.IPIV(K1+(K-K1)*abs(INCX)) = Limplies rowsKandLare to be interchanged. iykyk πINCXβINCXisINTEGER. Itβs the increment between successive values ofIPIV. IfINCXis negative, the pivots are applied in reverse order.
π 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
Definition at line 114 of file claswp.f.
π¦ dlaswp π¦
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.
π Purpose π
DLASWP performs a series of row interchanges on the matrixA. One row interchange is initiated for each of rowsK1throughK2ofA.
π Parameters π
NβNisINTEGER. Itβs the number of columns of the matrixA.AβAisDOUBLE PRECISIONarray, 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.LDAβLDAisINTEGER. Itβs the leading dimension of the arrayA.K1βK1isINTEGER. Itβs the first element ofIPIVfor which a row interchange will be done.K2βK2isINTEGER.(K2-K1+1)is the number of elements ofIPIVfor which a row interchange will be done.IPIVβIPIVisINTEGERarray, dimension(K1+(K2-K1)*abs(INCX)). Itβs the vector of pivot indices. Only the elements in positionsK1throughK1+(K2-K1)*abs(INCX)ofIPIVare accessed.IPIV(K1+(K-K1)*abs(INCX)) = Limplies rowsKandLare to be interchanged.INCXβINCXisINTEGER. Itβs the increment between successive values ofIPIV. IfINCXis negative, the pivots are applied in reverse order.
π 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
Definition at line 114 of file dlaswp.f.
π¦ slaswp π¦
subroutine slaswp (integer n, real, dimension( lda, * ) a, integer lda,
integer k1, integer k2, integer, dimension( * ) ipiv, integer incx)
SLASWP performs a series of row interchanges on a general rectangular matrix.
π Purpose π
SLASWP performs a series of row interchanges on the matrixA. One row interchange is initiated for each of rowsK1throughK2ofA.
π Parameters π
NβNisINTEGER. Itβs the number of columns of the matrixA.AβAisREALarray, 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.LDAβLDAisINTEGER. Itβs the leading dimension of the arrayA.K1βK1isINTEGER. Itβs the first element ofIPIVfor which a row interchange will be done.K2βK2isINTEGER.(K2-K1+1)is the number of elements ofIPIVfor which a row interchange will be done.IPIVβIPIVisINTEGERarray, dimension(K1+(K2-K1)*abs(INCX)). Itβs the vector of pivot indices. Only the elements in positionsK1throughK1+(K2-K1)*abs(INCX)ofIPIVare accessed.IPIV(K1+(K-K1)*abs(INCX)) = Limplies rowsKandLare to be interchanged.INCXβINCXisINTEGER. Itβs the increment between successive values ofIPIV. IfINCXis negative, the pivots are applied in reverse order.
π 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
Definition at line 114 of file slaswp.f.
π¦ zlaswp π¦
subroutine zlaswp (integer n, complex*16, dimension( lda, * ) a, integer
lda, integer k1, integer k2, integer, dimension( * ) ipiv, integer incx)
ZLASWP performs a series of row interchanges on a general rectangular matrix.
π Purpose π
ZLASWP performs a series of row interchanges on the matrixA. One row interchange is initiated for each of rowsK1throughK2ofA.
π Parameters π
NβNisINTEGER. Itβs the number of columns of the matrixA.AβAisCOMPLEX*16array, 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.LDAβLDAisINTEGER. Itβs the leading dimension of the arrayA.K1βK1isINTEGER. Itβs the first element ofIPIVfor which a row interchange will be done.K2βK2isINTEGER.(K2-K1+1)is the number of elements ofIPIVfor which a row interchange will be done.IPIVβIPIVisINTEGERarray, dimension(K1+(K2-K1)*abs(INCX)). Itβs the vector of pivot indices. Only the elements in positionsK1throughK1+(K2-K1)*abs(INCX)ofIPIVare accessed.IPIV(K1+(K-K1)*abs(INCX)) = Limplies rowsKandLare to be interchanged.INCXβINCXisINTEGER. Itβs the increment between successive values ofIPIV. IfINCXis negative, the pivots are applied in reverse order.
π 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
Definition at line 114 of file zlaswp.f.
πΈ AUTHOR πΈ
Generated automatically by Doxygen for LAPACK from the source code.
π footer sign-off: LAPACK Version 3.12.0 Β· laswp(3) β thatβs the source/version stamp, and the only date-ish line on the page, bestie. mwah. π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms