1HPL_dlaswp02N(3) HPL Library Functions HPL_dlaswp02N(3)
2
3
4
6 HPL_dlaswp02N - pack rows of A into columns of W.
7
9 #include "hpl.h"
10
11 void HPL_dlaswp02N( const int M, const int N, const double * A, const
12 int LDA, double * W0, double * W, const int LDW, const int * LINDXA,
13 const int * LINDXAU );
14
16 HPL_dlaswp02N packs scattered rows of an array A into workspace W.
17 The row offsets in A are specified by LINDXA.
18
20 M (local input) const int
21 On entry, M specifies the number of rows of A that should be
22 copied into W. M must be at least zero.
23
24 N (local input) const int
25 On entry, N specifies the length of rows of A that should be
26 copied into W. N must be at least zero.
27
28 A (local input) const double *
29 On entry, A points to an array of dimension (LDA,N). The rows
30 of this array specified by LINDXA should be copied into W.
31
32 LDA (local input) const int
33 On entry, LDA specifies the leading dimension of the array A.
34 LDA must be at least MAX(1,M).
35
36 W0 (local input/output) double *
37 On exit, W0 is an array of size (M-1)*LDW+1, that contains
38 the destination offset in U where the columns of W should be
39 copied.
40
41 W (local output) double *
42 On entry, W is an array of size (LDW,M). On exit, W contains
43 the rows LINDXA[i] for i in [0..M) of A stored contiguously
44 in W(:,i).
45
46 LDW (local input) const int
47 On entry, LDW specifies the leading dimension of the array W.
48 LDW must be at least MAX(1,N+1).
49
50 LINDXA (local input) const int *
51 On entry, LINDXA is an array of dimension M that contains the
52 local row indexes of A that should be copied into W.
53
54 LINDXAU (local input) const int *
55 On entry, LINDXAU is an array of dimension M that contains
56 the local row indexes of U that should be copied into A and
57 replaced by the rows of W.
58
60 HPL_dlaswp00N (3), HPL_dlaswp10N (3), HPL_dlaswp01N (3),
61 HPL_dlaswp01T (3), HPL_dlaswp02N (3), HPL_dlaswp03N (3),
62 HPL_dlaswp03T (3), HPL_dlaswp04N (3), HPL_dlaswp04T (3),
63 HPL_dlaswp05N (3), HPL_dlaswp05T (3), HPL_dlaswp06N (3),
64 HPL_dlaswp06T (3).
65
66
67
68HPL 2.1 October 26, 2012 HPL_dlaswp02N(3)