HPL_dlaswp06T(3)
π 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,Msays how many rows ofAshould be swapped with columns ofU.Mmust be at least zero, fr fr.N(local input) βconst intβ on entry,Nis the length of the rows ofAthat should be swapped with columns ofU.Nmust be at least zero too. β¨A(local output) βdouble *β on entry,Apoints to an array of dimension(LDA,N). on exit, the rows of this array thatLINDXAspecifies get replaced by columns ofU. she said glow up πLDA(local input) βconst intβ on entry,LDAis the leading dimension of the arrayA.LDAmust be at leastMAX(1,M). that's the floor, bestie.U(local input/output) βdouble *β on entry,Upoints to an array of dimension(LDU,*). this array contains the columns ofUthat are gonna be swapped with rows ofA. πLDU(local input) βconst intβ on entry,LDUis the leading dimension of the arrayU.LDUmust be at leastMAX(1,N). iconic, no notes.LINDXA(local input) βconst int *β on entry,LINDXAis an array of dimensionMcontaining the local row indexes ofAthat should be swapped withU. 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
- 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