1HPL_dlaswp04N(3) HPL Library Functions HPL_dlaswp04N(3)
2
3
4
6 HPL_dlaswp04N - copy rows of U in A and replace them with columns of W.
7
9 #include "hpl.h"
10
11 void HPL_dlaswp04N( const int M0, const int M1, const int N, double *
12 U, const int LDU, double * A, const int LDA, const double * W0, const
13 double * W, const int LDW, const int * LINDXA, const int * LINDXAU );
14
16 HPL_dlaswp04N copies M0 rows of U into A and replaces those rows of U
17 with columns of W. In addition M1 - M0 columns of W are copied into
18 rows of U.
19
21 M0 (local input) const int
22 On entry, M0 specifies the number of rows of U that should be
23 copied into A and replaced by columns of W. M0 must be at
24 least zero.
25
26 M1 (local input) const int
27 On entry, M1 specifies the number of columns of W that should
28 be copied into rows of U. M1 must be at least zero.
29
30 N (local input) const int
31 On entry, N specifies the length of the rows of U that should
32 be copied into A. N must be at least zero.
33
34 U (local input/output) double *
35 On entry, U points to an array of dimension (LDU,N). This
36 array contains the rows that are to be copied into A.
37
38 LDU (local input) const int
39 On entry, LDU specifies the leading dimension of the array U.
40 LDU must be at least MAX(1,M1).
41
42 A (local output) double *
43 On entry, A points to an array of dimension (LDA,N). On exit,
44 the rows of this array specified by LINDXA are replaced by
45 rows of U indicated by LINDXAU.
46
47 LDA (local input) const int
48 On entry, LDA specifies the leading dimension of the array A.
49 LDA must be at least MAX(1,M0).
50
51 W0 (local input) const double *
52 On entry, W0 is an array of size (M-1)*LDW+1, that contains
53 the destination offset in U where the columns of W should be
54 copied.
55
56 W (local input) const double *
57 On entry, W is an array of size (LDW,M0+M1), that contains
58 data to be copied into U. For i in [M0..M0+M1), the entries
59 W(:,i) are copied into the row W0(i*LDW) of U.
60
61 LDW (local input) const int
62 On entry, LDW specifies the leading dimension of the array W.
63 LDW must be at least MAX(1,N+1).
64
65 LINDXA (local input) const int *
66 On entry, LINDXA is an array of dimension M0 containing the
67 local row indexes A into which rows of U are copied.
68
69 LINDXAU (local input) const int *
70 On entry, LINDXAU is an array of dimension M0 that contains
71 the local row indexes of U that should be copied into A and
72 replaced by the columns of W.
73
75 HPL_dlaswp00N (3), HPL_dlaswp10N (3), HPL_dlaswp01N (3),
76 HPL_dlaswp01T (3), HPL_dlaswp02N (3), HPL_dlaswp03N (3),
77 HPL_dlaswp03T (3), HPL_dlaswp04N (3), HPL_dlaswp04T (3),
78 HPL_dlaswp05N (3), HPL_dlaswp05T (3), HPL_dlaswp06N (3),
79 HPL_dlaswp06T (3).
80
81
82
83HPL 2.1 October 26, 2012 HPL_dlaswp04N(3)