swap(3F)

dswap, sswap, zswap, cswap - BLAS level ONE swap subroutines

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     dswap, sswap, zswap, cswap - BLAS level ONE swap subroutines


FORTRAN 77 SYNOPSIS
     subroutine dswap( n, dx, incx, dy, incy )
     integer           incx, incy, n
     double precision  dx( 1 ), dy( 1 )

     subroutine sswap( n, sx, incx, sy, incy )
     integer           incx, incy, n
     real              sx( 1 ), sy( 1 )

     subroutine zswap( n, zx, incx, zy, incy )
     integer           incx, incy, n
     complex*16        zx( 1 ), zy( 1 )

     subroutine cswap( n, cx, incx, cy, incy )
     integer           incx, incy, n
     complex           cx( 1 ), cy( 1 )


C SYNOPSIS
     void dswap( n, zx, incx, zy, incy )
     Integer           incx, incy, n
     double            (*dx)[ n ], (*dy)[ n ];

     void sswap( n, zx, incx, zy, incy )
     Integer           incx, incy, n
     float             (*sx)[ n ], (*sy)[ n ];

     void zswap( n, zx, incx, zy, incy )
     Integer           incx, incy, n
     Zomplex           (*zx)[ n ], (*zy)[ n ];

     void cswap( n, cx, incx, cy, incy )
     Integer           incx, incy, n
     Complex           (*cx)[ n ], (*cy)[ n ];


DESCRIPTION
     dswap, sswap, zswap and cswap interchange n values of vector x and vector
     y.  incx and incy specify the increment between two consecutive elements
     of respectively vector x and y.


AUTHORS
          Jack Dongarra, linpack, 3/11/78.