1HPL_dlaswp01N(3) HPL Library Functions HPL_dlaswp01N(3)
2
3
4
6 HPL_dlaswp01N - copies rows of A into itself and into U.
7
9 #include "hpl.h"
10
11 void HPL_dlaswp01N( const int M, const int N, double * A, const int
12 LDA, double * U, const int LDU, const int * LINDXA, const int * LINDXAU
13 );
14
16 HPL_dlaswp01N copies scattered rows of A into itself and into an
17 array U. The row offsets in A of the source rows are specified by
18 LINDXA. The destination of those rows are specified by LINDXAU. A
19 positive value of LINDXAU indicates that the array destination is U,
20 and A otherwise.
21
23 M (local input) const int
24 On entry, M specifies the number of rows of A that should be
25 moved within A or copied into U. M must be at least zero.
26
27 N (local input) const int
28 On entry, N specifies the length of rows of A that should be
29 moved within A or copied into U. N must be at least zero.
30
31 A (local input/output) double *
32 On entry, A points to an array of dimension (LDA,N). The rows
33 of this array specified by LINDXA should be moved within A or
34 copied into U.
35
36 LDA (local input) const int
37 On entry, LDA specifies the leading dimension of the array A.
38 LDA must be at least MAX(1,M).
39
40 U (local input/output) double *
41 On entry, U points to an array of dimension (LDU,N). The rows
42 of A specified by LINDXA are be copied within this array U at
43 the positions indicated by positive values of LINDXAU.
44
45 LDU (local input) const int
46 On entry, LDU specifies the leading dimension of the array U.
47 LDU must be at least MAX(1,M).
48
49 LINDXA (local input) const int *
50 On entry, LINDXA is an array of dimension M that contains the
51 local row indexes of A that should be moved within A or
52 or copied into U.
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 where the rows of A should be
57 copied at. This array also contains the local row offsets in A
58 where some of the rows of A should be moved to. A positive
59 value of LINDXAU[i] indicates that the row LINDXA[i] of A
60 should be copied into U at the position LINDXAU[i]; otherwise
61 the row LINDXA[i] of A should be moved at the position
62 -LINDXAU[i] within A.
63
65 HPL_dlaswp00N (3), HPL_dlaswp10N (3), HPL_dlaswp01N (3),
66 HPL_dlaswp01T (3), HPL_dlaswp02N (3), HPL_dlaswp03N (3),
67 HPL_dlaswp03T (3), HPL_dlaswp04N (3), HPL_dlaswp04T (3),
68 HPL_dlaswp05N (3), HPL_dlaswp05T (3), HPL_dlaswp06N (3),
69 HPL_dlaswp06T (3).
70
71
72
73HPL 2.1 October 26, 2012 HPL_dlaswp01N(3)