HPL_dlaswp05N(3)

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

✨ HPL_dlaswp05N β€” bestie edition ✨

okay so real quick: this is a page from the HPL Library Functions manual, and the star of the show is HPL_dlaswp05N(3). she's a lil workhorse in the HPL linear algebra lineup and today we're gonna get to know her πŸ’–


🌸 NAME 🌸

HPL_dlaswp05N β€” copy rows of U into A. that's it. that's the whole job. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include "hpl.h"

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

πŸ’… DESCRIPTION πŸ’…

so HPL_dlaswp05N copies rows of U of global offset LINDXAU into rows of A at positions indicated by LINDXA. that's the vibe. rows in, rows out, everyone gets where they're supposed to go ✨


πŸ‘‘ ARGUMENTS πŸ‘‘

  • M β€” (local input) const int β€” on entry, M specifies the number of rows of U that should be copied into A. M must be at least zero. like, don't be weird about it, zero or more 🫢
  • N β€” (local input) const int β€” on entry, N specifies the length of the rows of U that should be copied into A. N must be at least zero. same energy, zero is fine, negative is not πŸ’€
  • 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 of U indicated by LINDXAU. she's the destination bestie, she's getting a glow-up πŸ’–
  • LDA β€” (local input) const int β€” on entry, LDA specifies the leading dimension of the array A. LDA must be at least MAX(1,M). rules are rules, she needs room to breathe ✨
  • U β€” (local input/output) const double * β€” on entry, U points to an array of dimension (LDU,N). this array contains the rows that are to be copied into A. she's the source, the origin story, the blueprint 🌈
  • 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 as LDA, keep it legal πŸ’…
  • 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 copied from U. this is the "where do the new rows go in A" list πŸ“
  • LINDXAU β€” (local input) const int * β€” on entry, LINDXAU is an array of dimension M that contains the local row indexes of U that should be copied in A. and this is the "which rows of U are we pulling from" list πŸ“

πŸŽ€ SEE ALSO πŸŽ€

the whole girlies squad, go say hi:

  • 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)

fr fr, that's the whole page. go copy some rows, you're gonna eat πŸ’…βœ¨

and that's a wrap, babe 🫢 this was HPL 2.2, dated February 24, 2016 β€” iconic behavior honestly, periodt πŸ’–πŸŒΈ

πŸ“¦ where this page comes from