1DLASWP(1) LAPACK auxiliary routine (version 3.2) DLASWP(1)
2
3
4
6 DLASWP - performs 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
22 N (input) INTEGER
23 The number of columns of the matrix A.
24
25 A (input/output) DOUBLE PRECISION array, dimension (LDA,N)
26 On entry, the matrix of column dimension N to which the row
27 interchanges will be applied. On exit, the permuted matrix.
28
29 LDA (input) INTEGER
30 The leading dimension of the array A.
31
32 K1 (input) INTEGER
33 The first element of IPIV for which a row interchange will be
34 done.
35
36 K2 (input) INTEGER
37 The last element of IPIV for which a row interchange will be
38 done.
39
40 IPIV (input) INTEGER array, dimension (K2*abs(INCX))
41 The vector of pivot indices. Only the elements in positions K1
42 through K2 of IPIV are accessed. IPIV(K) = L implies rows K
43 and L are to be interchanged.
44
45 INCX (input) INTEGER
46 The increment between successive values of IPIV. If IPIV is
47 negative, the pivots are applied in reverse order.
48
50 Modified by
51 R. C. Whaley, Computer Science Dept., Univ. of Tenn., Knoxville, USA
52
53
54
55 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 DLASWP(1)