dlaswp(3S)

DLASWP - perform a series of row interchanges on the matrix A

Showing IRIX 6.5.30 (default release). Added in IRIX 6.5.15.

NAME
     DLASWP - perform a series of row interchanges on the matrix A

SYNOPSIS
     SUBROUTINE DLASWP( N, A, LDA, K1, K2, IPIV, INCX )

         INTEGER        INCX, K1, K2, LDA, N

         INTEGER        IPIV( * )

         DOUBLE         PRECISION A( LDA, * )

IMPLEMENTATION
     These routines are part of the SCSL Scientific Library and can be loaded
     using either the -lscs or the -lscs_mp option.  The -lscs_mp option
     directs the linker to use the multi-processor version of the library.

     When linking to SCSL with -lscs or -lscs_mp, the default integer size is
     4 bytes (32 bits). Another version of SCSL is available in which integers
     are 8 bytes (64 bits).  This version allows the user access to larger
     memory sizes and helps when porting legacy Cray codes.  It can be loaded
     by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
     only one of the two versions; 4-byte integer and 8-byte integer library
     calls cannot be mixed.

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 (M*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


SEE ALSO
     INTRO_LAPACK(3S), INTRO_SCSL(3S)

     This man page is available only online.