VMS Help
FORTRAN, Intrinsic Procedures, xSWAP

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  SSWAP (n, x, incx, y, incy)
  DSWAP (n, x, incx, y, incy)
  CSWAP (n, x, incx, y, incy)
  ZSWAP (n, x, incx, y, incy)

  Subroutines that swap elements between two arrays.

  These routines are part of the BLAS1 Basic Set, and are only
  available on VAX processors.

  Arguments

    n

    Integer number of elements in arrays "x" and "y" to be accessed.

    x

    Array containing elements to be swapped with corresponding
    elements in array "y", or array reference to the first such
    element.  The data type is REAL*4 for SSWAP, REAL*8 for DSWAP,
    COMPLEX*8 for CSWAP, COMPLEX*16 for ZSWAP.

    incx

    Integer index increment used in selecting which elements of array
    "x" are accessed.

    y

    Array containing elements to be swapped with corresponding
    elements in array "x", or array reference to the first such
    element.  The data type is REAL*4 for SSWAP, REAL*8 for DSWAP,
    COMPLEX*8 for CSWAP, COMPLEX*16 for ZSWAP.

    incy

    Integer index increment used in selecting which elements of array
    "y" are accessed.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.