HPL_dlaswp06T(3)

πŸ“¦ version 2.2, in fedora 43, fedora 44

πŸ’– HPL_dlaswp06T(3) β€” bestie edition πŸ’–

okay so real quick, this is a page from the HPL Library Functions manual, and it's about one very specific little function that does one very specific little job. no cap, it's short, but she's important. let's get into it 🫢


✨ NAME ✨

HPL_dlaswp06T β€” swap rows or columns of U with rows of A. πŸ’…


🌸 SYNOPSIS 🌸

#include "hpl.h"

void HPL_dlaswp06T( const int M, const int N, double * A, const int LDA,
double * U, const int LDU, const int * LINDXA );

πŸ¦‹ DESCRIPTION πŸ¦‹

so HPL_dlaswp06T swaps columns of U with rows of A, and it does it at the positions that LINDXA tells it about. that's the whole vibe. she takes the receipts (LINDXA) and does the shuffle. periodt. πŸŽ€


πŸ‘‘ ARGUMENTS πŸ‘‘

  • M (local input) β€” const int β€” on entry, M says how many rows of A should be swapped with columns of U. M must be at least zero, fr fr.
  • N (local input) β€” const int β€” on entry, N is the length of the rows of A that should be swapped with columns of U. N must be at least zero too. ✨
  • A (local output) β€” double * β€” on entry, A points to an array of dimension (LDA,N). on exit, the rows of this array that LINDXA specifies get replaced by columns of U. she said glow up πŸ’–
  • LDA (local input) β€” const int β€” on entry, LDA is the leading dimension of the array A. LDA must be at least MAX(1,M). that's the floor, bestie.
  • U (local input/output) β€” double * β€” on entry, U points to an array of dimension (LDU,*). this array contains the columns of U that are gonna be swapped with rows of A. πŸ’œ
  • LDU (local input) β€” const int β€” on entry, LDU is the leading dimension of the array U. LDU must be at least MAX(1,N). iconic, no notes.
  • LINDXA (local input) β€” const int * β€” on entry, LINDXA is an array of dimension M containing the local row indexes of A that should be swapped with U. this is literally the guest list for the swap 🌈

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, all invited, all iconic πŸ‘‘:

  • HPL_dlaswp00N (3)
  • HPL_dlaswp10N (3)
  • HPL_dlaswp01N (3)
  • HPL_dlaswp01T (3)
  • HPL_dlaswp02N (3)
  • HPL_dlaswp03N (3)
  • HPL_dlaswp03T (3)
  • HPL_dlaswp04N (3)
  • HPL_dlaswp04T (3)
  • HPL_dlaswp05N (3)
  • HPL_dlaswp05T (3)
  • HPL_dlaswp06N (3)
  • HPL_dlaswp06T (3)

and that's the whole page bestie!! πŸ’–βœ¨ this came from HPL 2.2, dated February 24, 2016, so go forth, swap responsibly, and stan a leading dimension. πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from