Diff for /rpl/lapack/lapack/dlaswp.f between versions 1.10 and 1.17

version 1.10, 2012/08/22 09:48:21 version 1.17, 2018/05/29 06:55:20
Line 1 Line 1
 *> \brief \b DLASWP  *> \brief \b DLASWP performs a series of row interchanges on a general rectangular matrix.
 *  *
 *  =========== DOCUMENTATION ===========  *  =========== DOCUMENTATION ===========
 *  *
 * Online html documentation available at   * Online html documentation available at
 *            http://www.netlib.org/lapack/explore-html/   *            http://www.netlib.org/lapack/explore-html/
 *  *
 *> \htmlonly  *> \htmlonly
 *> Download DLASWP + dependencies   *> Download DLASWP + dependencies
 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaswp.f">   *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaswp.f">
 *> [TGZ]</a>   *> [TGZ]</a>
 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaswp.f">   *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaswp.f">
 *> [ZIP]</a>   *> [ZIP]</a>
 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaswp.f">   *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaswp.f">
 *> [TXT]</a>  *> [TXT]</a>
 *> \endhtmlonly   *> \endhtmlonly
 *  *
 *  Definition:  *  Definition:
 *  ===========  *  ===========
 *  *
 *       SUBROUTINE DLASWP( N, A, LDA, K1, K2, IPIV, INCX )  *       SUBROUTINE DLASWP( N, A, LDA, K1, K2, IPIV, INCX )
 *   *
 *       .. Scalar Arguments ..  *       .. Scalar Arguments ..
 *       INTEGER            INCX, K1, K2, LDA, N  *       INTEGER            INCX, K1, K2, LDA, N
 *       ..  *       ..
Line 27 Line 27
 *       INTEGER            IPIV( * )  *       INTEGER            IPIV( * )
 *       DOUBLE PRECISION   A( LDA, * )  *       DOUBLE PRECISION   A( LDA, * )
 *       ..  *       ..
 *    *
 *  *
 *> \par Purpose:  *> \par Purpose:
 *  =============  *  =============
Line 71 Line 71
 *> \param[in] K2  *> \param[in] K2
 *> \verbatim  *> \verbatim
 *>          K2 is INTEGER  *>          K2 is INTEGER
 *>          The last element of IPIV for which a row interchange will  *>          (K2-K1+1) is the number of elements of IPIV for which a row
 *>          be done.  *>          interchange will be done.
 *> \endverbatim  *> \endverbatim
 *>  *>
 *> \param[in] IPIV  *> \param[in] IPIV
 *> \verbatim  *> \verbatim
 *>          IPIV is INTEGER array, dimension (K2*abs(INCX))  *>          IPIV is INTEGER array, dimension (K1+(K2-K1)*abs(INCX))
 *>          The vector of pivot indices.  Only the elements in positions  *>          The vector of pivot indices. Only the elements in positions
 *>          K1 through K2 of IPIV are accessed.  *>          K1 through K1+(K2-K1)*abs(INCX) of IPIV are accessed.
 *>          IPIV(K) = L implies rows K and L are to be interchanged.  *>          IPIV(K1+(K-K1)*abs(INCX)) = L implies rows K and L are to be
   *>          interchanged.
 *> \endverbatim  *> \endverbatim
 *>  *>
 *> \param[in] INCX  *> \param[in] INCX
 *> \verbatim  *> \verbatim
 *>          INCX is INTEGER  *>          INCX is INTEGER
 *>          The increment between successive values of IPIV.  If IPIV  *>          The increment between successive values of IPIV. If INCX
 *>          is negative, the pivots are applied in reverse order.  *>          is negative, the pivots are applied in reverse order.
 *> \endverbatim  *> \endverbatim
 *  *
 *  Authors:  *  Authors:
 *  ========  *  ========
 *  *
 *> \author Univ. of Tennessee   *> \author Univ. of Tennessee
 *> \author Univ. of California Berkeley   *> \author Univ. of California Berkeley
 *> \author Univ. of Colorado Denver   *> \author Univ. of Colorado Denver
 *> \author NAG Ltd.   *> \author NAG Ltd.
 *  *
 *> \date November 2011  *> \date June 2017
 *  *
 *> \ingroup doubleOTHERauxiliary  *> \ingroup doubleOTHERauxiliary
 *  *
Line 114 Line 115
 *  =====================================================================  *  =====================================================================
       SUBROUTINE DLASWP( N, A, LDA, K1, K2, IPIV, INCX )        SUBROUTINE DLASWP( N, A, LDA, K1, K2, IPIV, INCX )
 *  *
 *  -- LAPACK auxiliary routine (version 3.4.0) --  *  -- LAPACK auxiliary routine (version 3.7.1) --
 *  -- 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 2011  *     June 2017
 *  *
 *     .. Scalar Arguments ..  *     .. Scalar Arguments ..
       INTEGER            INCX, K1, K2, LDA, N        INTEGER            INCX, K1, K2, LDA, N
Line 135 Line 136
 *     ..  *     ..
 *     .. Executable Statements ..  *     .. Executable Statements ..
 *  *
 *     Interchange row I with row IPIV(I) for each of rows K1 through K2.  *     Interchange row I with row IPIV(K1+(I-K1)*abs(INCX)) for each of rows
   *     K1 through K2.
 *  *
       IF( INCX.GT.0 ) THEN        IF( INCX.GT.0 ) THEN
          IX0 = K1           IX0 = K1
Line 143 Line 145
          I2 = K2           I2 = K2
          INC = 1           INC = 1
       ELSE IF( INCX.LT.0 ) THEN        ELSE IF( INCX.LT.0 ) THEN
          IX0 = 1 + ( 1-K2 )*INCX           IX0 = K1 + ( K1-K2 )*INCX
          I1 = K2           I1 = K2
          I2 = K1           I2 = K1
          INC = -1           INC = -1

Removed from v.1.10  
changed lines
  Added in v.1.17


CVSweb interface <joel.bertrand@systella.fr>