| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <TITLE>HPL_dlocswpN HPL 2.0 Library Functions September 10, 2008</TITLE> |
| 4 | </HEAD> |
| 5 | |
| 6 | <BODY BGCOLOR="WHITE" TEXT = "#000000" LINK = "#0000ff" VLINK = "#000099" |
| 7 | ALINK = "#ffff00"> |
| 8 | |
| 9 | <H1>Name</H1> |
| 10 | <B>HPL_dlocswpN</B> locally swaps rows within panel. |
| 11 | |
| 12 | <H1>Synopsis</H1> |
| 13 | <CODE>#include "hpl.h"</CODE><BR><BR> |
| 14 | <CODE>void</CODE> |
| 15 | <CODE>HPL_dlocswpN(</CODE> |
| 16 | <CODE>HPL_T_panel *</CODE> |
| 17 | <CODE>PANEL</CODE>, |
| 18 | <CODE>const int</CODE> |
| 19 | <CODE>II</CODE>, |
| 20 | <CODE>const int</CODE> |
| 21 | <CODE>JJ</CODE>, |
| 22 | <CODE>double *</CODE> |
| 23 | <CODE>WORK</CODE> |
| 24 | <CODE>);</CODE> |
| 25 | |
| 26 | <H1>Description</H1> |
| 27 | <B>HPL_dlocswpN</B> |
| 28 | performs the local swapping operations within a panel. |
| 29 | The lower triangular N0-by-N0 upper block of the panel is stored in |
| 30 | no-transpose form (i.e. just like the input matrix itself). |
| 31 | |
| 32 | <H1>Arguments</H1> |
| 33 | <PRE> |
| 34 | PANEL (local input/output) HPL_T_panel * |
| 35 | On entry, PANEL points to the data structure containing the |
| 36 | panel information. |
| 37 | </PRE> |
| 38 | <PRE> |
| 39 | II (local input) const int |
| 40 | On entry, II specifies the row offset where the column to be |
| 41 | operated on starts with respect to the panel. |
| 42 | </PRE> |
| 43 | <PRE> |
| 44 | JJ (local input) const int |
| 45 | On entry, JJ specifies the column offset where the column to |
| 46 | be operated on starts with respect to the panel. |
| 47 | </PRE> |
| 48 | <PRE> |
| 49 | WORK (local workspace) double * |
| 50 | On entry, WORK is a workarray of size at least 2 * (4+2*N0). |
| 51 | WORK[0] contains the local maximum absolute value scalar, |
| 52 | WORK[1] contains the corresponding local row index, WORK[2] |
| 53 | contains the corresponding global row index, and WORK[3] is |
| 54 | the coordinate of process owning this max. The N0 length max |
| 55 | row is stored in WORK[4:4+N0-1]; Note that this is also the |
| 56 | JJth row (or column) of L1. The remaining part of this array |
| 57 | is used as workspace. |
| 58 | </PRE> |
| 59 | |
| 60 | <H1>See Also</H1> |
| 61 | <A HREF="HPL_dlocmax.html">HPL_dlocmax</A>, |
| 62 | <A HREF="HPL_dlocswpT.html">HPL_dlocswpT</A>, |
| 63 | <A HREF="HPL_pdmxswp.html">HPL_pdmxswp</A>, |
| 64 | <A HREF="HPL_pdpancrN.html">HPL_pdpancrN</A>, |
| 65 | <A HREF="HPL_pdpancrT.html">HPL_pdpancrT</A>, |
| 66 | <A HREF="HPL_pdpanllN.html">HPL_pdpanllN</A>, |
| 67 | <A HREF="HPL_pdpanllT.html">HPL_pdpanllT</A>, |
| 68 | <A HREF="HPL_pdpanrlN.html">HPL_pdpanrlN</A>, |
| 69 | <A HREF="HPL_pdpanrlT.html">HPL_pdpanrlT</A>, |
| 70 | <A HREF="HPL_pdrpancrN.html">HPL_pdrpancrN</A>, |
| 71 | <A HREF="HPL_pdrpancrT.html">HPL_pdrpancrT</A>, |
| 72 | <A HREF="HPL_pdrpanllN.html">HPL_pdrpanllN</A>, |
| 73 | <A HREF="HPL_pdrpanllT.html">HPL_pdrpanllT</A>, |
| 74 | <A HREF="HPL_pdrpanrlN.html">HPL_pdrpanrlN</A>, |
| 75 | <A HREF="HPL_pdrpanrlT.html">HPL_pdrpanrlT</A>, |
| 76 | <A HREF="HPL_pdfact.html">HPL_pdfact</A>. |
| 77 | |
| 78 | </BODY> |
| 79 | </HTML> |