1DLASWP(1) LAPACK auxiliary routine (version 3.1) DLASWP(1)
2
3
4
6 DLASWP - a series of row interchanges on the matrix A
7
9 SUBROUTINE DLASWP( N, A, LDA, K1, K2, IPIV, INCX )
10
11 INTEGER INCX, K1, K2, LDA, N
12
13 INTEGER IPIV( * )
14
15 DOUBLE PRECISION A( LDA, * )
16
18 DLASWP performs a series of row interchanges on the matrix A. One row
19 interchange is initiated for each of rows K1 through K2 of A.
20
21
23 N (input) INTEGER
24 The number of columns of the matrix A.
25
26 A (input/output) DOUBLE PRECISION array, dimension (LDA,N)
27 On entry, the matrix of column dimension N to which the row
28 interchanges will be applied. On exit, the permuted matrix.
29
30 LDA (input) INTEGER
31 The leading dimension of the array A.
32
33 K1 (input) INTEGER
34 The first element of IPIV for which a row interchange will be
35 done.
36
37 K2 (input) INTEGER
38 The last element of IPIV for which a row interchange will be
39 done.
40
41 IPIV (input) INTEGER array, dimension (K2*abs(INCX))
42 The vector of pivot indices. Only the elements in positions K1
43 through K2 of IPIV are accessed. IPIV(K) = L implies rows K
44 and L are to be interchanged.
45
46 INCX (input) INTEGER
47 The increment between successive values of IPIV. If IPIV is
48 negative, the pivots are applied in reverse order.
49
51 Modified by
52 R. C. Whaley, Computer Science Dept., Univ. of Tenn., Knoxville, USA
53
54
55
56
57 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 DLASWP(1)