HPL_dlocswpN HPL 2.2 Library Functions February 24, 2016
locally swaps rows within panel.
performs the local swapping operations within a panel.
The lower triangular N0-by-N0 upper block of the panel is stored in
no-transpose form (i.e. just like the input matrix itself).
PANEL (local input/output) HPL_T_panel *
On entry, PANEL points to the data structure containing the
II (local input) const int
On entry, II specifies the row offset where the column to be
operated on starts with respect to the panel.
JJ (local input) const int
On entry, JJ specifies the column offset where the column to
be operated on starts with respect to the panel.
WORK (local workspace) double *
On entry, WORK is a workarray of size at least 2 * (4+2*N0).
WORK contains the local maximum absolute value scalar,
WORK contains the corresponding local row index, WORK
contains the corresponding global row index, and WORK is
the coordinate of process owning this max. The N0 length max
row is stored in WORK[4:4+N0-1]; Note that this is also the
JJth row (or column) of L1. The remaining part of this array
is used as workspace.