HPL_dlaswp05T(3)
π HPL_dlaswp05T β bestie edition
ok so you found a page from the HPL Library Functions manual, and honestly? it's giving "niche but iconic". let's get into it π«Ά
β¨ NAME β¨
HPL_dlaswp05T β literally copies rows of U into A. that's the whole vibe. no cap. π¦
πΈ SYNOPSIS πΈ
#include "hpl.h"
void HPL_dlaswp05T( const int M, const int N, double * A, const int LDA,
const double * U, const int LDU, const int * LINDXA, const int * LINDXAU
);
π DESCRIPTION π
okay so picture this: HPL_dlaswp05T takes columns of U β the ones at global offset LINDXAU, bestie β and copies them into rows of A, at the positions that LINDXA is pointing at. that's it. that's the function. she's efficient, she's focused, she ate π
β¨
π ARGUMENTS π
Mβ (local input)const intβ on entry,Mis the number of columns ofUthat should be copied intoA.Mmust be at least zero. yes ma'am, zero is allowed, negative is NOT π₯Nβ (local input)const intβ on entry,Nis the length of the columns ofUthat will be copied into rows ofA.Nmust be at least zero. same rules, no negativity in this house πAβ (local output)double *β on entry,Apoints to an array of dimension(LDA,N). on exit, the rows of this array specified byLINDXAget replaced by columns ofUindicated byLINDXAU. she's a glow-up, she's a transformation, she's main character energy πLDAβ (local input)const intβ on entry,LDAspecifies the leading dimension of the arrayA.LDAmust be at leastMAX(1,M). periodt.Uβ (local input/output)const double *β on entry,Upoints to an array of dimension(LDU,*). this array contains the columns that are to be copied into rows ofA. she's the source, she's the blueprint, she's the moment β¨LDUβ (local input)const intβ on entry,LDUspecifies the leading dimension of the arrayU.LDUmust be at leastMAX(1,N). don't skip this, the vibe check will fail πLINDXAβ (local input)const int *β on entry,LINDXAis an array of dimensionMthat contains the local row indexes ofAthat should be copied fromU. she's the map, she's the GPS π§LINDXAUβ (local input)const int *β on entry,LINDXAUis an array of dimensionMthat contains the local column indexes ofUthat should be copied inA. her twin, her partner in crime, lowkey essential π
π SEE ALSO π
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)
the whole friend group, fr fr π«Ά go say hi to all of them.
and that's the page, bestie π this one's from HPL 2.2, dated February 24, 2016 β yes she's a 2016 girlie and she's still slaying. mwah, go copy some rows β¨ππ
π¦ 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