.TH "laswp" 3 "Wed Feb 7 2024 11:30:40" "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME laswp \- laswp: swap permutation .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "subroutine \fBclaswp\fP (n, a, lda, k1, k2, ipiv, incx)" .br .RI "\fBCLASWP\fP performs a series of row interchanges on a general rectangular matrix\&. " .ti -1c .RI "subroutine \fBdlaswp\fP (n, a, lda, k1, k2, ipiv, incx)" .br .RI "\fBDLASWP\fP performs a series of row interchanges on a general rectangular matrix\&. " .ti -1c .RI "subroutine \fBslaswp\fP (n, a, lda, k1, k2, ipiv, incx)" .br .RI "\fBSLASWP\fP performs a series of row interchanges on a general rectangular matrix\&. " .ti -1c .RI "subroutine \fBzlaswp\fP (n, a, lda, k1, k2, ipiv, incx)" .br .RI "\fBZLASWP\fP performs a series of row interchanges on a general rectangular matrix\&. " .in -1c .SH "Detailed Description" .PP .SH "Function Documentation" .PP .SS "subroutine claswp (integer n, complex, dimension( lda, * ) a, integer lda, integer k1, integer k2, integer, dimension( * ) ipiv, integer incx)" .PP \fBCLASWP\fP performs a series of row interchanges on a general rectangular matrix\&. .PP \fBPurpose:\fP .RS 4 .PP .nf 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\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER The number of columns of the matrix A\&. .fi .PP .br \fIA\fP .PP .nf A is COMPLEX 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\&. .fi .PP .br \fILDA\fP .PP .nf LDA is INTEGER The leading dimension of the array A\&. .fi .PP .br \fIK1\fP .PP .nf K1 is INTEGER The first element of IPIV for which a row interchange will be done\&. .fi .PP .br \fIK2\fP .PP .nf K2 is INTEGER (K2-K1+1) is the number of elements of IPIV for which a row interchange will be done\&. .fi .PP .br \fIIPIV\fP .PP .nf IPIV is INTEGER array, dimension (K1+(K2-K1)*abs(INCX)) The vector of pivot indices\&. Only the elements in positions K1 through K1+(K2-K1)*abs(INCX) of IPIV are accessed\&. IPIV(K1+(K-K1)*abs(INCX)) = L implies rows K and L are to be interchanged\&. .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER The increment between successive values of IPIV\&. If INCX is negative, the pivots are applied in reverse order\&. .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf Modified by R\&. C\&. Whaley, Computer Science Dept\&., Univ\&. of Tenn\&., Knoxville, USA .fi .PP .RE .PP .SS "subroutine dlaswp (integer n, double precision, dimension( lda, * ) a, integer lda, integer k1, integer k2, integer, dimension( * ) ipiv, integer incx)" .PP \fBDLASWP\fP performs a series of row interchanges on a general rectangular matrix\&. .PP \fBPurpose:\fP .RS 4 .PP .nf 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\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER The number of columns of the matrix A\&. .fi .PP .br \fIA\fP .PP .nf 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\&. .fi .PP .br \fILDA\fP .PP .nf LDA is INTEGER The leading dimension of the array A\&. .fi .PP .br \fIK1\fP .PP .nf K1 is INTEGER The first element of IPIV for which a row interchange will be done\&. .fi .PP .br \fIK2\fP .PP .nf K2 is INTEGER (K2-K1+1) is the number of elements of IPIV for which a row interchange will be done\&. .fi .PP .br \fIIPIV\fP .PP .nf IPIV is INTEGER array, dimension (K1+(K2-K1)*abs(INCX)) The vector of pivot indices\&. Only the elements in positions K1 through K1+(K2-K1)*abs(INCX) of IPIV are accessed\&. IPIV(K1+(K-K1)*abs(INCX)) = L implies rows K and L are to be interchanged\&. .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER The increment between successive values of IPIV\&. If INCX is negative, the pivots are applied in reverse order\&. .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf Modified by R\&. C\&. Whaley, Computer Science Dept\&., Univ\&. of Tenn\&., Knoxville, USA .fi .PP .RE .PP .SS "subroutine slaswp (integer n, real, dimension( lda, * ) a, integer lda, integer k1, integer k2, integer, dimension( * ) ipiv, integer incx)" .PP \fBSLASWP\fP performs a series of row interchanges on a general rectangular matrix\&. .PP \fBPurpose:\fP .RS 4 .PP .nf SLASWP performs a series of row interchanges on the matrix A\&. One row interchange is initiated for each of rows K1 through K2 of A\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER The number of columns of the matrix A\&. .fi .PP .br \fIA\fP .PP .nf A is REAL 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\&. .fi .PP .br \fILDA\fP .PP .nf LDA is INTEGER The leading dimension of the array A\&. .fi .PP .br \fIK1\fP .PP .nf K1 is INTEGER The first element of IPIV for which a row interchange will be done\&. .fi .PP .br \fIK2\fP .PP .nf K2 is INTEGER (K2-K1+1) is the number of elements of IPIV for which a row interchange will be done\&. .fi .PP .br \fIIPIV\fP .PP .nf IPIV is INTEGER array, dimension (K1+(K2-K1)*abs(INCX)) The vector of pivot indices\&. Only the elements in positions K1 through K1+(K2-K1)*abs(INCX) of IPIV are accessed\&. IPIV(K1+(K-K1)*abs(INCX)) = L implies rows K and L are to be interchanged\&. .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER The increment between successive values of IPIV\&. If INCX is negative, the pivots are applied in reverse order\&. .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf Modified by R\&. C\&. Whaley, Computer Science Dept\&., Univ\&. of Tenn\&., Knoxville, USA .fi .PP .RE .PP .SS "subroutine zlaswp (integer n, complex*16, dimension( lda, * ) a, integer lda, integer k1, integer k2, integer, dimension( * ) ipiv, integer incx)" .PP \fBZLASWP\fP performs a series of row interchanges on a general rectangular matrix\&. .PP \fBPurpose:\fP .RS 4 .PP .nf ZLASWP performs a series of row interchanges on the matrix A\&. One row interchange is initiated for each of rows K1 through K2 of A\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER The number of columns of the matrix A\&. .fi .PP .br \fIA\fP .PP .nf A is COMPLEX*16 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\&. .fi .PP .br \fILDA\fP .PP .nf LDA is INTEGER The leading dimension of the array A\&. .fi .PP .br \fIK1\fP .PP .nf K1 is INTEGER The first element of IPIV for which a row interchange will be done\&. .fi .PP .br \fIK2\fP .PP .nf K2 is INTEGER (K2-K1+1) is the number of elements of IPIV for which a row interchange will be done\&. .fi .PP .br \fIIPIV\fP .PP .nf IPIV is INTEGER array, dimension (K1+(K2-K1)*abs(INCX)) The vector of pivot indices\&. Only the elements in positions K1 through K1+(K2-K1)*abs(INCX) of IPIV are accessed\&. IPIV(K1+(K-K1)*abs(INCX)) = L implies rows K and L are to be interchanged\&. .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER The increment between successive values of IPIV\&. If INCX is negative, the pivots are applied in reverse order\&. .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf Modified by R\&. C\&. Whaley, Computer Science Dept\&., Univ\&. of Tenn\&., Knoxville, USA .fi .PP .RE .PP .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.