VMS Help
FORTRAN, Intrinsic Procedures, xAXPY

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

  SAXPY (n, a, x, incx, y, incy)
  DAXPY (n, a, x, incx, y, incy)
  CAXPY (n, a, x, incx, y, incy)
  ZAXPY (n, a, x, incx, y, incy)

  Subroutines that multiply an array by a scalar value and add an
  array.

  These subroutines 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.

    a

    Scalar multiplier for array "x".  The data type is REAL*4 for
    SAXPY, REAL*8 for DAXPY, COMPLEX*8 for CAXPY, COMPLEX*16 for
    ZAXPY.

    x

    Array containing the elements to be accessed or array reference
    to the first such element.  The data type is REAL*4 for SAXPY,
    REAL*8 for DAXPY, COMPLEX*8 for CAXPY, COMPLEX*16 for ZAXPY.  The
    elements in array "x" are multiplied by the scalar argument a and
    then added to elements of array "y".

    incx

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

    y

    Array containing the elements to be accessed or array reference
    to the first such element.  The data type is REAL*4 for SAXPY,
    REAL*8 for DAXPY, COMPLEX*8 for CAXPY, COMPLEX*16 for ZAXPY.  The
    elements of array "y" are replaced by the result of adding their
    value to the product of the corresponding elements of array "x"
    and the scalar argument "a".

    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.