Performs a series of row interchanges on a general rectangular matrix.
call slaswp( n, a, lda, k1, k2, ipiv, incx )
call dlaswp( n, a, lda, k1, k2, ipiv, incx )
call claswp( n, a, lda, k1, k2, ipiv, incx )
call zlaswp( n, a, lda, k1, k2, ipiv, incx )
The routine performs a series of row interchanges on the matrix A. One row interchange is initiated for each of rows k1 through k2 of A.
The data types are given for the Fortran interface.
INTEGER. The number of columns of the matrix A.
REAL for slaswp
DOUBLE PRECISION for dlaswp
COMPLEX for claswp
DOUBLE COMPLEX for zlaswp.
Array, size lda by n.
Array a contains the m-by-n matrix A.
INTEGER. The leading dimension of the array a.
INTEGER. The first element of ipiv for which a row interchange will be done.
INTEGER. The last element of ipiv for which a row interchange will be done.
The vector of pivot indices. Only the elements in positions k1 through k2 of ipiv are accessed.
ipiv(k) = limplies rows k and l are to be interchanged.
INTEGER. The increment between successive values of ipiv. If ipiv is negative, the pivots are applied in reverse order.