1HPL_dlocswpN(3) HPL Library Functions HPL_dlocswpN(3)
2
3
4
6 HPL_dlocswpN - locally swaps rows within panel.
7
9 #include "hpl.h"
10
11 void HPL_dlocswpN( HPL_T_panel * PANEL, const int II, const int JJ,
12 double * WORK );
13
15 HPL_dlocswpN performs the local swapping operations within a panel.
16 The lower triangular N0-by-N0 upper block of the panel is stored in
17 no-transpose form (i.e. just like the input matrix itself).
18
20 PANEL (local input/output) HPL_T_panel *
21 On entry, PANEL points to the data structure containing the
22 panel information.
23
24 II (local input) const int
25 On entry, II specifies the row offset where the column to be
26 operated on starts with respect to the panel.
27
28 JJ (local input) const int
29 On entry, JJ specifies the column offset where the column to
30 be operated on starts with respect to the panel.
31
32 WORK (local workspace) double *
33 On entry, WORK is a workarray of size at least 2 * (4+2*N0).
34 WORK[0] contains the local maximum absolute value scalar,
35 WORK[1] contains the corresponding local row index, WORK[2]
36 contains the corresponding global row index, and WORK[3] is
37 the coordinate of process owning this max. The N0 length max
38 row is stored in WORK[4:4+N0-1]; Note that this is also the
39 JJth row (or column) of L1. The remaining part of this array
40 is used as workspace.
41
43 HPL_dlocmax (3), HPL_dlocswpT (3), HPL_pdmxswp (3), HPL_pdpancrN (3),
44 HPL_pdpancrT (3), HPL_pdpanllN (3), HPL_pdpanllT (3), HPL_pdpanrlN (3),
45 HPL_pdpanrlT (3), HPL_pdrpancrN (3), HPL_pdrpancrT (3), HPL_pdrpan‐
46 llN (3), HPL_pdrpanllT (3), HPL_pdrpanrlN (3), HPL_pdrpanrlT (3),
47 HPL_pdfact (3).
48
49
50
51HPL 2.2 February 24, 2016 HPL_dlocswpN(3)