DLASWP(3) LAPACK routine of NEC Numeric Library Collection DLASWP(3) NAME DLASWP SYNOPSIS SUBROUTINE DLASWP (N, A, LDA, K1, K2, IPIV, INCX) PURPOSE DLASWP performs a series of row interchanges on the matrix A. One row interchange is initiated for each of rows K1 through K2 of A. ARGUMENTS N (input) N is INTEGER The number of columns of the matrix A. A (input/output) A is DOUBLE PRECISION array, dimension (LDA,N) On entry, the matrix of column dimension N to which the row interchanges will be applied. On exit, the permuted matrix. LDA (input) LDA is INTEGER The leading dimension of the array A. K1 (input) K1 is INTEGER The first element of IPIV for which a row interchange will be done. K2 (input) K2 is INTEGER The last element of IPIV for which a row interchange will be done. IPIV (input) IPIV is INTEGER array, dimension (K2*abs(INCX)) The vector of pivot indices. Only the elements in positions K1 through K2 of IPIV are accessed. IPIV(K) = L implies rows K and L are to be interchanged. INCX (input) INCX is INTEGER The increment between successive values of IPIV. If IPIV is negative, the pivots are applied in reverse order. LAPACK routine 31 October 2017 DLASWP(3)