_AXPY(3F) _AXPY(3F)
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 )
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 ];
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.
Page 1
_AXPY(3F) _AXPY(3F)
Y <--- Y + a . X
incx and incy specify the increment between two consecutive elements of
respectively vector x and y.
Jack Dongarra, linpack, 3/11/78.
PPPPaaaaggggeeee 2222 [ Back ]
|