| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>HPL_dlaswp04N 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_dlaswp04N</B> copy rows of U in A and replace them with columns of W. |
| 11 |
|
| 12 |
<H1>Synopsis</H1> |
| 13 |
<CODE>#include "hpl.h"</CODE><BR><BR> |
| 14 |
<CODE>void</CODE> |
| 15 |
<CODE>HPL_dlaswp04N(</CODE> |
| 16 |
<CODE>const int</CODE> |
| 17 |
<CODE>M0</CODE>, |
| 18 |
<CODE>const int</CODE> |
| 19 |
<CODE>M1</CODE>, |
| 20 |
<CODE>const int</CODE> |
| 21 |
<CODE>N</CODE>, |
| 22 |
<CODE>double *</CODE> |
| 23 |
<CODE>U</CODE>, |
| 24 |
<CODE>const int</CODE> |
| 25 |
<CODE>LDU</CODE>, |
| 26 |
<CODE>double *</CODE> |
| 27 |
<CODE>A</CODE>, |
| 28 |
<CODE>const int</CODE> |
| 29 |
<CODE>LDA</CODE>, |
| 30 |
<CODE>const double *</CODE> |
| 31 |
<CODE>W0</CODE>, |
| 32 |
<CODE>const double *</CODE> |
| 33 |
<CODE>W</CODE>, |
| 34 |
<CODE>const int</CODE> |
| 35 |
<CODE>LDW</CODE>, |
| 36 |
<CODE>const int *</CODE> |
| 37 |
<CODE>LINDXA</CODE>, |
| 38 |
<CODE>const int *</CODE> |
| 39 |
<CODE>LINDXAU</CODE> |
| 40 |
<CODE>);</CODE> |
| 41 |
|
| 42 |
<H1>Description</H1> |
| 43 |
<B>HPL_dlaswp04N</B> |
| 44 |
copies M0 rows of U into A and replaces those rows of U |
| 45 |
with columns of W. In addition M1 - M0 columns of W are copied into |
| 46 |
rows of U. |
| 47 |
|
| 48 |
<H1>Arguments</H1> |
| 49 |
<PRE> |
| 50 |
M0 (local input) const int |
| 51 |
On entry, M0 specifies the number of rows of U that should be |
| 52 |
copied into A and replaced by columns of W. M0 must be at |
| 53 |
least zero. |
| 54 |
</PRE> |
| 55 |
<PRE> |
| 56 |
M1 (local input) const int |
| 57 |
On entry, M1 specifies the number of columns of W that should |
| 58 |
be copied into rows of U. M1 must be at least zero. |
| 59 |
</PRE> |
| 60 |
<PRE> |
| 61 |
N (local input) const int |
| 62 |
On entry, N specifies the length of the rows of U that should |
| 63 |
be copied into A. N must be at least zero. |
| 64 |
</PRE> |
| 65 |
<PRE> |
| 66 |
U (local input/output) double * |
| 67 |
On entry, U points to an array of dimension (LDU,N). This |
| 68 |
array contains the rows that are to be copied into A. |
| 69 |
</PRE> |
| 70 |
<PRE> |
| 71 |
LDU (local input) const int |
| 72 |
On entry, LDU specifies the leading dimension of the array U. |
| 73 |
LDU must be at least MAX(1,M1). |
| 74 |
</PRE> |
| 75 |
<PRE> |
| 76 |
A (local output) double * |
| 77 |
On entry, A points to an array of dimension (LDA,N). On exit, |
| 78 |
the rows of this array specified by LINDXA are replaced by |
| 79 |
rows of U indicated by LINDXAU. |
| 80 |
</PRE> |
| 81 |
<PRE> |
| 82 |
LDA (local input) const int |
| 83 |
On entry, LDA specifies the leading dimension of the array A. |
| 84 |
LDA must be at least MAX(1,M0). |
| 85 |
</PRE> |
| 86 |
<PRE> |
| 87 |
W0 (local input) const double * |
| 88 |
On entry, W0 is an array of size (M-1)*LDW+1, that contains |
| 89 |
the destination offset in U where the columns of W should be |
| 90 |
copied. |
| 91 |
</PRE> |
| 92 |
<PRE> |
| 93 |
W (local input) const double * |
| 94 |
On entry, W is an array of size (LDW,M0+M1), that contains |
| 95 |
data to be copied into U. For i in [M0..M0+M1), the entries |
| 96 |
W(:,i) are copied into the row W0(i*LDW) of U. |
| 97 |
</PRE> |
| 98 |
<PRE> |
| 99 |
LDW (local input) const int |
| 100 |
On entry, LDW specifies the leading dimension of the array W. |
| 101 |
LDW must be at least MAX(1,N+1). |
| 102 |
</PRE> |
| 103 |
<PRE> |
| 104 |
LINDXA (local input) const int * |
| 105 |
On entry, LINDXA is an array of dimension M0 containing the |
| 106 |
local row indexes A into which rows of U are copied. |
| 107 |
</PRE> |
| 108 |
<PRE> |
| 109 |
LINDXAU (local input) const int * |
| 110 |
On entry, LINDXAU is an array of dimension M0 that contains |
| 111 |
the local row indexes of U that should be copied into A and |
| 112 |
replaced by the columns of W. |
| 113 |
</PRE> |
| 114 |
|
| 115 |
<H1>See Also</H1> |
| 116 |
<A HREF="HPL_dlaswp00N.html">HPL_dlaswp00N</A>, |
| 117 |
<A HREF="HPL_dlaswp10N.html">HPL_dlaswp10N</A>, |
| 118 |
<A HREF="HPL_dlaswp01N.html">HPL_dlaswp01N</A>, |
| 119 |
<A HREF="HPL_dlaswp01T.html">HPL_dlaswp01T</A>, |
| 120 |
<A HREF="HPL_dlaswp02N.html">HPL_dlaswp02N</A>, |
| 121 |
<A HREF="HPL_dlaswp03N.html">HPL_dlaswp03N</A>, |
| 122 |
<A HREF="HPL_dlaswp03T.html">HPL_dlaswp03T</A>, |
| 123 |
<A HREF="HPL_dlaswp04N.html">HPL_dlaswp04N</A>, |
| 124 |
<A HREF="HPL_dlaswp04T.html">HPL_dlaswp04T</A>, |
| 125 |
<A HREF="HPL_dlaswp05N.html">HPL_dlaswp05N</A>, |
| 126 |
<A HREF="HPL_dlaswp05T.html">HPL_dlaswp05T</A>, |
| 127 |
<A HREF="HPL_dlaswp06N.html">HPL_dlaswp06N</A>, |
| 128 |
<A HREF="HPL_dlaswp06T.html">HPL_dlaswp06T</A>. |
| 129 |
|
| 130 |
</BODY> |
| 131 |
</HTML> |