axpy(3F)
daxpy, saxpy, zaxpy, caxpy - BLAS level ONE axpy subroutines
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME daxpy, saxpy, zaxpy, caxpy - BLAS level ONE axpy subroutines FORTRAN 77 SYNOPSIS subroutine daxpy( n, a, x, incx, y, incy ) integer incx, incy, n double precision a double precision x( 1 ), y( 1 ) subroutine saxpy( n, a, x, incx, y, incy ) integer incx, incy, n real a real x( 1 ), y( 1 ) subroutine zaxpy( n, a, x, incx, y, incy ) integer incx, incy, n complex*16 a complex*16 x( 1 ), y( 1 ) subroutine caxpy( n, a, x, incx, y, incy ) integer incx, incy, n complex a complex x( 1 ), y( 1 ) C SYNOPSIS void daxpy( n, a, x, incx, y, incy ) Integer incx, incy, n; double a; double (*x)[ n ], (*y)[ n ]; void saxpy( n, a, x, incx, y, incy ) Integer incx, incy, n; float a; float (*x)[ n ], (*y)[ n ]; void zaxpy( n, a, x, incx, y, incy ) Integer incx, incy, n; Zomplex a; Zomplex (*x)[ n ], (*y)[ n ]; void caxpy( n, a, x, incx, y, incy ) Integer incx, incy, n; Complex a; complex (*x)[ n ], (*y)[ n ]; DESCRIPTION daxpy, saxpy, zaxpy, and caxpy compute a constant a times a vector x plus a vector y. The result overwrites the initial values of vector y. Y <--- Y + a . X incx and incy specify the increment between two consecutive elements of respectively vector x and y. AUTHORS Jack Dongarra, linpack, 3/11/78.