1HPL_dlaswp01T(3) HPL Library Functions HPL_dlaswp01T(3)
2
3
4
6 HPL_dlaswp01T - copies rows of A into itself and into U.
7
9 #include "hpl.h"
10
11 void HPL_dlaswp01T( 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_dlaswp01T 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. Rows of A are stored as columns in U.
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,M). The rows
42 of A specified by LINDXA are copied within this array U at
43 the positions indicated by positive values of LINDXAU. The
44 rows of A are stored as columns in U.
45
46 LDU (local input) const int
47 On entry, LDU specifies the leading dimension of the array U.
48 LDU must be at least MAX(1,N).
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 moved within A or
53 or copied into U.
54
55 LINDXAU (local input) const int *
56 On entry, LINDXAU is an array of dimension M that contains
57 the local row indexes of U where the rows of A should be
58 copied at. This array also contains the local row offsets in A
59 where some of the rows of A should be moved to. A positive
60 value of LINDXAU[i] indicates that the row LINDXA[i] of A
61 should be copied into U at the position LINDXAU[i]; otherwise
62 the row LINDXA[i] of A should be moved at the position
63 -LINDXAU[i] within A.
64
66 HPL_dlaswp00N (3), HPL_dlaswp10N (3), HPL_dlaswp01N (3),
67 HPL_dlaswp01T (3), HPL_dlaswp02N (3), HPL_dlaswp03N (3),
68 HPL_dlaswp03T (3), HPL_dlaswp04N (3), HPL_dlaswp04T (3),
69 HPL_dlaswp05N (3), HPL_dlaswp05T (3), HPL_dlaswp06N (3),
70 HPL_dlaswp06T (3).
71
72
73
74HPL 2.1 October 26, 2012 HPL_dlaswp01T(3)