HPL_dlocmax(3)
π HPL_dlocmax β bestie edition π
okay so this is a page from the HPL library functions manual (that's the HPL Library Functions section, for the record), and today's main character is HPL_dlocmax(3). sit down, grab a boba, we're finding maximums π
β¨ NAME β¨
HPL_dlocmax β finds the maximum entry in matrix column. that's it, that's the whole job, and she does it flawlessly π
π¦ SYNOPSIS π¦
#include "hpl.h"
void HPL_dlocmax( HPL_T_panel * PANEL, const int N, const int II, const
int JJ, double * WORK );
πΈ DESCRIPTION πΈ
so HPL_dlocmax finds the maximum entry in the current column and packs all the useful info into WORK[0:3]. no cap, that's the whole vibe. β¨
on exit, here's what's in your workarray:
WORK[0]β the local maximum absolute value scalarWORK[1]β the corresponding local row indexWORK[2]β the corresponding global row indexWORK[3]β the coordinate of the process owning this max π
and when N is less than 1? she doesn't crash out, she just initializes WORK[0:2] to zero, and sets WORK[3] to the total number of process rows. iconic behavior honestly. π«Ά
π ARGUMENTS π
PANEL(local input/output) βHPL_T_panel *on entry,PANELpoints to the data structure containing the panel information. she's the whole context bestie, treat her with respect πN(local input) βconst inton entry,Nspecifies the local number of rows of the column ofAon which we operate.II(local input) βconst inton entry,IIspecifies the row offset where the column to be operated on starts with respect to the panel.JJ(local input) βconst inton entry,JJspecifies the column offset where the column to be operated on starts with respect to the panel.WORK(local workspace) βdouble *on entry,WORKis a workarray of size at least4. on exit:WORK[0]contains the local maximum absolute value scalarWORK[1]contains the corresponding local row indexWORK[2]contains the corresponding global row indexWORK[3]is the coordinate of process owning this max π
fr fr, make that workarray at least size 4. she's not asking, she's telling. π
π SEE ALSO π
the whole friend group, all slaying in their own lanes:
HPL_dlocswpN (3)HPL_dlocswpT (3)HPL_pdmxswp (3)HPL_pdpancrN (3)HPL_pdpancrT (3)HPL_pdpanllN (3)HPL_pdpanllT (3)HPL_pdpanrlN (3)HPL_pdpanrlT (3)HPL_pdrpancrN (3)HPL_pdrpancrT (3)HPL_pdrpanllN (3)HPL_pdrpanllT (3)HPL_pdrpanrlN (3)HPL_pdrpanrlT (3)HPL_pdfact (3)
that's the page bestie, you ate π β¨
HPL 2.2 β dated February 24, 2016 β mwah, thanks for reading, ily, go find your maximum π¦π
π¦ 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