Scroll to navigation

CLASWP(1) LAPACK auxiliary routine (version 3.2) CLASWP(1)

NAME

CLASWP - performs a series of row interchanges on the matrix A

SYNOPSIS

N, A, LDA, K1, K2, IPIV, INCX )

INTEGER INCX, K1, K2, LDA, N INTEGER IPIV( * ) COMPLEX A( LDA, * )

PURPOSE

CLASWP 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

The number of columns of the matrix A.
On entry, the matrix of column dimension N to which the row interchanges will be applied. On exit, the permuted matrix.
The leading dimension of the array A.
The first element of IPIV for which a row interchange will be done.
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) = L implies rows K and L are to be interchanged.
The increment between successive values of IPIV. If IPIV is negative, the pivots are applied in reverse order.

FURTHER DETAILS

Modified by
R. C. Whaley, Computer Science Dept., Univ. of Tenn., Knoxville, USA

November 2008 LAPACK auxiliary routine (version 3.2)