HPL_pdgesvK2(3)
π HPL_pdgesvK2 β it's giving LU factorization, bestie π
okay so real quick, this is a page from the HPL Library Functions manual, and the star of the show is HPL_pdgesvK2. yes the name is a mouthful. no we are not changing it. iykyk π
β¨ NAME β¨
HPL_pdgesvK2</purgle> β factor an N x N+1 matrix. that's it, that's the vibe π¦
πΈ SYNOPSIS πΈ
#include "hpl.h"
void HPL_pdgesvK2( HPL_T_grid * GRID, HPL_T_palg * ALGO, HPL_T_pmat * A
);
look at that signature. three pointers. no notes. iconic π
π DESCRIPTION π
okay bestie, so HPL_pdgesvK2 factors a N+1-by-N matrix using LU factorization with row partial pivoting. periodt.
the main algorithm is the "right looking" variant with look-ahead. yes that's the actual name, it's very main character energy β¨
two things you gotta know, and i need you to really internalize these:
- the lower triangular factor is left unpivoted π
- and the pivots are not returned π
and the right hand side? that's just the N+1 column of the coefficient matrix. cute, right? π
π ARGUMENTS π
GRIDβ (local input)HPL_T_grid *β on entry,GRIDpoints to the data structure holding the process grid information. she's the map of who's where πΊοΈALGOβ (global input)HPL_T_palg *β on entry,ALGOpoints to the data structure holding the algorithmic parameters. this is where all the tuning lives, fr fr βοΈAβ (local input/output)HPL_T_pmat *β on entry,Apoints to the data structure containing the local array information. note the input/output β she gets read and written, so don't be surprised when she comes back different π
π¦ SEE ALSO π¦
the friend group, all together:
HPL_pdgesv(3)HPL_pdgesv0(3)HPL_pdgesvK1(3)HPL_pdfact(3)HPL_binit(3)HPL_bcast(3)HPL_bwait(3)HPL_pdupdateNN(3)HPL_pdupdateNT(3)HPL_pdupdateTN(3)HPL_pdupdateTT(3)
HPL 2.2 π February 24, 2016
and that's the whole page, bestie!! you read a real manpage and you ate it up, no cap ππ go factor something. 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