version 1.2, 2010/04/21 13:45:20
|
version 1.8, 2011/11/21 20:42:59
|
Line 1
|
Line 1
|
|
*> \brief \b DLASWP |
|
* |
|
* =========== DOCUMENTATION =========== |
|
* |
|
* Online html documentation available at |
|
* http://www.netlib.org/lapack/explore-html/ |
|
* |
|
*> \htmlonly |
|
*> Download DLASWP + dependencies |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaswp.f"> |
|
*> [TGZ]</a> |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaswp.f"> |
|
*> [ZIP]</a> |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaswp.f"> |
|
*> [TXT]</a> |
|
*> \endhtmlonly |
|
* |
|
* Definition: |
|
* =========== |
|
* |
|
* SUBROUTINE DLASWP( N, A, LDA, K1, K2, IPIV, INCX ) |
|
* |
|
* .. Scalar Arguments .. |
|
* INTEGER INCX, K1, K2, LDA, N |
|
* .. |
|
* .. Array Arguments .. |
|
* INTEGER IPIV( * ) |
|
* DOUBLE PRECISION A( LDA, * ) |
|
* .. |
|
* |
|
* |
|
*> \par Purpose: |
|
* ============= |
|
*> |
|
*> \verbatim |
|
*> |
|
*> 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. |
|
*> \endverbatim |
|
* |
|
* Arguments: |
|
* ========== |
|
* |
|
*> \param[in] N |
|
*> \verbatim |
|
*> N is INTEGER |
|
*> The number of columns of the matrix A. |
|
*> \endverbatim |
|
*> |
|
*> \param[in,out] A |
|
*> \verbatim |
|
*> 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. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] LDA |
|
*> \verbatim |
|
*> LDA is INTEGER |
|
*> The leading dimension of the array A. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] K1 |
|
*> \verbatim |
|
*> K1 is INTEGER |
|
*> The first element of IPIV for which a row interchange will |
|
*> be done. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] K2 |
|
*> \verbatim |
|
*> K2 is INTEGER |
|
*> The last element of IPIV for which a row interchange will |
|
*> be done. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] IPIV |
|
*> \verbatim |
|
*> 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. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] INCX |
|
*> \verbatim |
|
*> INCX is INTEGER |
|
*> The increment between successive values of IPIV. If IPIV |
|
*> is negative, the pivots are applied in reverse order. |
|
*> \endverbatim |
|
* |
|
* Authors: |
|
* ======== |
|
* |
|
*> \author Univ. of Tennessee |
|
*> \author Univ. of California Berkeley |
|
*> \author Univ. of Colorado Denver |
|
*> \author NAG Ltd. |
|
* |
|
*> \date November 2011 |
|
* |
|
*> \ingroup doubleOTHERauxiliary |
|
* |
|
*> \par Further Details: |
|
* ===================== |
|
*> |
|
*> \verbatim |
|
*> |
|
*> Modified by |
|
*> R. C. Whaley, Computer Science Dept., Univ. of Tenn., Knoxville, USA |
|
*> \endverbatim |
|
*> |
|
* ===================================================================== |
SUBROUTINE DLASWP( N, A, LDA, K1, K2, IPIV, INCX ) |
SUBROUTINE DLASWP( N, A, LDA, K1, K2, IPIV, INCX ) |
* |
* |
* -- LAPACK auxiliary routine (version 3.2) -- |
* -- LAPACK auxiliary routine (version 3.4.0) -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* November 2006 |
* November 2011 |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
INTEGER INCX, K1, K2, LDA, N |
INTEGER INCX, K1, K2, LDA, N |
Line 13
|
Line 127
|
DOUBLE PRECISION A( LDA, * ) |
DOUBLE PRECISION A( LDA, * ) |
* .. |
* .. |
* |
* |
* 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) INTEGER |
|
* The number of columns of the matrix A. |
|
* |
|
* A (input/output) 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) INTEGER |
|
* The leading dimension of the array A. |
|
* |
|
* K1 (input) INTEGER |
|
* The first element of IPIV for which a row interchange will |
|
* be done. |
|
* |
|
* K2 (input) INTEGER |
|
* The last element of IPIV for which a row interchange will |
|
* be done. |
|
* |
|
* IPIV (input) 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) INTEGER |
|
* 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 |
|
* |
|
* ===================================================================== |
* ===================================================================== |
* |
* |
* .. Local Scalars .. |
* .. Local Scalars .. |