GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
laswp(3) LAPACK laswp(3)

laswp - laswp: swap permutation


subroutine claswp (n, a, lda, k1, k2, ipiv, incx)
CLASWP performs a series of row interchanges on a general rectangular matrix. subroutine dlaswp (n, a, lda, k1, k2, ipiv, incx)
DLASWP performs a series of row interchanges on a general rectangular matrix. subroutine slaswp (n, a, lda, k1, k2, ipiv, incx)
SLASWP performs a series of row interchanges on a general rectangular matrix. subroutine zlaswp (n, a, lda, k1, k2, ipiv, incx)
ZLASWP performs a series of row interchanges on a general rectangular matrix.

CLASWP performs a series of row interchanges on a general rectangular matrix.

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.

Parameters

N


N is INTEGER
The number of columns of the matrix A.

A


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.

LDA


LDA is INTEGER
The leading dimension of the array A.

K1


K1 is INTEGER
The first element of IPIV for which a row interchange will
be done.

K2


K2 is INTEGER
(K2-K1+1) is the number of elements of IPIV for which a row
interchange will be done.

IPIV


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.

INCX


INCX is INTEGER
The increment between successive values of IPIV. If INCX
is negative, the pivots are applied in reverse order.

Author

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Further Details:


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

Definition at line 114 of file claswp.f.

DLASWP performs a series of row interchanges on a general rectangular matrix.

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.

Parameters

N


N is INTEGER
The number of columns of the matrix A.

A


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


LDA is INTEGER
The leading dimension of the array A.

K1


K1 is INTEGER
The first element of IPIV for which a row interchange will
be done.

K2


K2 is INTEGER
(K2-K1+1) is the number of elements of IPIV for which a row
interchange will be done.

IPIV


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.

INCX


INCX is INTEGER
The increment between successive values of IPIV. If INCX
is negative, the pivots are applied in reverse order.

Author

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Further Details:


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

Definition at line 114 of file dlaswp.f.

SLASWP performs a series of row interchanges on a general rectangular matrix.

Purpose:


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.

Parameters

N


N is INTEGER
The number of columns of the matrix A.

A


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.

LDA


LDA is INTEGER
The leading dimension of the array A.

K1


K1 is INTEGER
The first element of IPIV for which a row interchange will
be done.

K2


K2 is INTEGER
(K2-K1+1) is the number of elements of IPIV for which a row
interchange will be done.

IPIV


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.

INCX


INCX is INTEGER
The increment between successive values of IPIV. If INCX
is negative, the pivots are applied in reverse order.

Author

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Further Details:


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

Definition at line 114 of file slaswp.f.

ZLASWP performs a series of row interchanges on a general rectangular matrix.

Purpose:


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.

Parameters

N


N is INTEGER
The number of columns of the matrix A.

A


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.

LDA


LDA is INTEGER
The leading dimension of the array A.

K1


K1 is INTEGER
The first element of IPIV for which a row interchange will
be done.

K2


K2 is INTEGER
(K2-K1+1) is the number of elements of IPIV for which a row
interchange will be done.

IPIV


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.

INCX


INCX is INTEGER
The increment between successive values of IPIV. If INCX
is negative, the pivots are applied in reverse order.

Author

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Further Details:


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

Definition at line 114 of file zlaswp.f.

Generated automatically by Doxygen for LAPACK from the source code.

Sun Jan 12 2025 15:13:35 Version 3.12.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.