root / www / HPL_dlaswp02N.html
Historique | Voir | Annoter | Télécharger (3,28 ko)
1 |
<HTML>
|
---|---|
2 |
<HEAD>
|
3 |
<TITLE>HPL_dlaswp02N 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_dlaswp02N</B> pack rows of A into columns of W. |
11 |
|
12 |
<H1>Synopsis</H1> |
13 |
<CODE>#include "hpl.h"</CODE><BR><BR> |
14 |
<CODE>void</CODE> |
15 |
<CODE>HPL_dlaswp02N(</CODE> |
16 |
<CODE>const int</CODE> |
17 |
<CODE>M</CODE>, |
18 |
<CODE>const int</CODE> |
19 |
<CODE>N</CODE>, |
20 |
<CODE>const double *</CODE> |
21 |
<CODE>A</CODE>, |
22 |
<CODE>const int</CODE> |
23 |
<CODE>LDA</CODE>, |
24 |
<CODE>double *</CODE> |
25 |
<CODE>W0</CODE>, |
26 |
<CODE>double *</CODE> |
27 |
<CODE>W</CODE>, |
28 |
<CODE>const int</CODE> |
29 |
<CODE>LDW</CODE>, |
30 |
<CODE>const int *</CODE> |
31 |
<CODE>LINDXA</CODE>, |
32 |
<CODE>const int *</CODE> |
33 |
<CODE>LINDXAU</CODE> |
34 |
<CODE>);</CODE> |
35 |
|
36 |
<H1>Description</H1> |
37 |
<B>HPL_dlaswp02N</B> |
38 |
packs scattered rows of an array A into workspace W. |
39 |
The row offsets in A are specified by LINDXA. |
40 |
|
41 |
<H1>Arguments</H1> |
42 |
<PRE>
|
43 |
M (local input) const int |
44 |
On entry, M specifies the number of rows of A that should be |
45 |
copied into W. M must be at least zero. |
46 |
</PRE>
|
47 |
<PRE>
|
48 |
N (local input) const int |
49 |
On entry, N specifies the length of rows of A that should be |
50 |
copied into W. N must be at least zero. |
51 |
</PRE>
|
52 |
<PRE>
|
53 |
A (local input) const double * |
54 |
On entry, A points to an array of dimension (LDA,N). The rows |
55 |
of this array specified by LINDXA should be copied into W. |
56 |
</PRE>
|
57 |
<PRE>
|
58 |
LDA (local input) const int |
59 |
On entry, LDA specifies the leading dimension of the array A. |
60 |
LDA must be at least MAX(1,M). |
61 |
</PRE>
|
62 |
<PRE>
|
63 |
W0 (local input/output) double * |
64 |
On exit, W0 is an array of size (M-1)*LDW+1, that contains |
65 |
the destination offset in U where the columns of W should be |
66 |
copied. |
67 |
</PRE>
|
68 |
<PRE>
|
69 |
W (local output) double * |
70 |
On entry, W is an array of size (LDW,M). On exit, W contains |
71 |
the rows LINDXA[i] for i in [0..M) of A stored contiguously |
72 |
in W(:,i). |
73 |
</PRE>
|
74 |
<PRE>
|
75 |
LDW (local input) const int |
76 |
On entry, LDW specifies the leading dimension of the array W. |
77 |
LDW must be at least MAX(1,N+1). |
78 |
</PRE>
|
79 |
<PRE>
|
80 |
LINDXA (local input) const int * |
81 |
On entry, LINDXA is an array of dimension M that contains the |
82 |
local row indexes of A that should be copied into W. |
83 |
</PRE>
|
84 |
<PRE>
|
85 |
LINDXAU (local input) const int * |
86 |
On entry, LINDXAU is an array of dimension M that contains |
87 |
the local row indexes of U that should be copied into A and |
88 |
replaced by the rows of W. |
89 |
</PRE>
|
90 |
|
91 |
<H1>See Also</H1> |
92 |
<A HREF="HPL_dlaswp00N.html">HPL_dlaswp00N</A>, |
93 |
<A HREF="HPL_dlaswp10N.html">HPL_dlaswp10N</A>, |
94 |
<A HREF="HPL_dlaswp01N.html">HPL_dlaswp01N</A>, |
95 |
<A HREF="HPL_dlaswp01T.html">HPL_dlaswp01T</A>, |
96 |
<A HREF="HPL_dlaswp02N.html">HPL_dlaswp02N</A>, |
97 |
<A HREF="HPL_dlaswp03N.html">HPL_dlaswp03N</A>, |
98 |
<A HREF="HPL_dlaswp03T.html">HPL_dlaswp03T</A>, |
99 |
<A HREF="HPL_dlaswp04N.html">HPL_dlaswp04N</A>, |
100 |
<A HREF="HPL_dlaswp04T.html">HPL_dlaswp04T</A>, |
101 |
<A HREF="HPL_dlaswp05N.html">HPL_dlaswp05N</A>, |
102 |
<A HREF="HPL_dlaswp05T.html">HPL_dlaswp05T</A>, |
103 |
<A HREF="HPL_dlaswp06N.html">HPL_dlaswp06N</A>, |
104 |
<A HREF="HPL_dlaswp06T.html">HPL_dlaswp06T</A>. |
105 |
|
106 |
</BODY>
|
107 |
</HTML>
|