HPL_dlaswp06N(3)
β¨ 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,Mspecifies the number of rows ofAthat should be swapped with rows ofU.Mmust be at least zero. no negatives bestie, we don't do that here πN(local input)const intβ on entry,Nspecifies the length of the rows ofAthat should be swapped with rows ofU.Nmust be at least zero. same rule, same energy π«A(local output)double *β on entry,Apoints to an array of dimension(LDA,N). on exit, the rows of this array specified byLINDXAare replaced by rows or columns ofU. so it's a glow-up, basically β¨LDA(local input)const intβ on entry,LDAspecifies the leading dimension of the arrayA.LDAmust be at leastMAX(1,M). respect the leading dimension or perish πU(local input/output)double *β on entry,Upoints to an array of dimension(LDU,N). this array contains the rows ofUthat are to be swapped with rows ofA. she's the source of the swap, the moment π«ΆLDU(local input)const intβ on entry,LDUspecifies the leading dimension of the arrayU.LDUmust be at leastMAX(1,M). same deal, different array πLINDXA(local input)const int *β on entry,LINDXAis an array of dimensionMthat contains the local row indexes ofAthat should be swapped withU. 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
- fedora 43: hpl-doc 2.2-22.fc43 Β· LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hpl-doc 2.2-23.fc44 Β· LicenseRef-Callaway-BSD-with-advertising
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms