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 matrix A. One row interchange is initiated for each of rows K1 through K2 of A.

πŸŽ€ Parameters πŸŽ€

  • N β€” N is INTEGER. It’s the number of columns of the matrix A.
  • A β€” A is COMPLEX 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.
  • 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. IPIV(K1+(K-K1)*abs(INCX)) = L implies rows K and L are to be interchanged. iykyk πŸ‘€
  • INCX β€” INCX is INTEGER. It’s the increment between successive values of IPIV. If INCX is 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 matrix A. One row interchange is initiated for each of rows K1 through K2 of A.

πŸŽ€ 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.
  • 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. IPIV(K1+(K-K1)*abs(INCX)) = L implies rows K and L are to be interchanged.
  • INCX β€” INCX is INTEGER. It’s the increment between successive values of IPIV. If INCX is 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 matrix A. One row interchange is initiated for each of rows K1 through K2 of A.

πŸŽ€ Parameters πŸŽ€

  • N β€” N is INTEGER. It’s the number of columns of the matrix A.
  • A β€” A is REAL 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.
  • 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. IPIV(K1+(K-K1)*abs(INCX)) = L implies rows K and L are to be interchanged.
  • INCX β€” INCX is INTEGER. It’s the increment between successive values of IPIV. If INCX is 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 matrix A. One row interchange is initiated for each of rows K1 through K2 of A.

πŸŽ€ Parameters πŸŽ€

  • N β€” N is INTEGER. It’s the number of columns of the matrix A.
  • A β€” A is COMPLEX*16 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.
  • 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. IPIV(K1+(K-K1)*abs(INCX)) = L implies rows K and L are to be interchanged.
  • INCX β€” INCX is INTEGER. It’s the increment between successive values of IPIV. If INCX is 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