HPL_dlaswp06N(3)

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

✨ HPL_dlaswp06N ✨

okay bestie, gather round, because we're diving into HPL_dlaswp06N(3) from the HPL Library Functions lineup and honestly? it's giving row-swap realness πŸ’…


πŸŽ€ NAME πŸŽ€

HPL_dlaswp06N β€” swap rows of U with rows of A. that's it, that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

#include "hpl.h"

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

no cap, that's the whole signature. seven args, zero drama πŸ’–


✨ DESCRIPTION ✨

so like, HPL_dlaswp06N swaps rows of U with rows of A at the positions indicated by LINDXA. that's the tea πŸ“

you hand it a list of indexes, it goes and does the swap. main character energy fr fr πŸ‘‘


πŸ’œ ARGUMENTS πŸ’œ

  • M (local input) const int β€” on entry, M specifies the number of rows of A that should be swapped with rows of U. M must be at least zero. no negatives bestie, we don't do that here πŸ™ˆ
  • N (local input) const int β€” on entry, N specifies the length of the rows of A that should be swapped with rows of U. N must be at least zero. same rule, same energy πŸ’«
  • A (local output) double * β€” on entry, A points to an array of dimension (LDA,N). on exit, the rows of this array specified by LINDXA are replaced by rows or columns of U. so it's a glow-up, basically ✨
  • LDA (local input) const int β€” on entry, LDA specifies the leading dimension of the array A. LDA must be at least MAX(1,M). respect the leading dimension or perish πŸ’€
  • U (local input/output) double * β€” on entry, U points to an array of dimension (LDU,N). this array contains the rows of U that are to be swapped with rows of A. she's the source of the swap, the moment 🫢
  • LDU (local input) const int β€” on entry, LDU specifies the leading dimension of the array U. LDU must be at least MAX(1,M). same deal, different array 🌈
  • LINDXA (local input) const int * β€” on entry, LINDXA is an array of dimension M that contains the local row indexes of A that should be swapped with U. it's literally the guest list πŸ“‹

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, we love a crossover episode:

  • 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, no notes πŸ’–

this has been HPL 2.2, dated February 24, 2016 β€” yeah she's a classic, an icon, a legend, and she was serving row swaps before it was cool. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from