SRC/claswp.f(3)

SRC/claswp.f(3) πŸ¦‹

okay bestie, you're in the Library Functions Manual and we're talking about SRC/claswp.f. It's giving "tiny row-swap icon" and I'm obsessed. ✨


✨ NAME ✨

SRC/claswp.f


πŸ¦‹ SYNOPSIS πŸ¦‹

🧚 Functions/Subroutines

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

and the description is literally: CLASWP performs a series of row interchanges on a general rectangular matrix. πŸ’…


πŸ‘‘ Function/Subroutine Documentation πŸ‘‘

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. No cap, that's the whole serve. 🫢

🌸 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. Periodt. πŸ’–

πŸŽ€ Parameters

πŸ“ N

N is INTEGER. It's the number of columns of the matrix A. πŸ’œ

πŸ“ A

A is a 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. Slay. ✨

πŸ“ 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 an 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 fr fr:

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. Main character behavior, honestly. πŸ‘‘

πŸ’œ Author

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

✨ Further Details:

This one was modified by R. C. Whaley, Computer Science Dept., Univ. of Tenn., Knoxville, USA. 🫢

Definition at line 114 of file claswp.f.


πŸ’… Author

Generated automatically by Doxygen for LAPACK from the source code. 🧚


okay that's the whole vibe bestie β€” LAPACK Version 3.12.0, page SRC/claswp.f(3), and yes the source/version footer is serving realness. bye and stay slay πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from