·  Home
+   man pages
 -> Linux -> FreeBSD -> OpenBSD -> NetBSD -> Tru64 Unix -> HP-UX 11i -> IRIX
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

man pages->IRIX man pages -> libblas/axpy (3)
 Title
 Content
 Arch
 Section All Sections 1 - General Commands 2 - System Calls 3 - Subroutines 4 - Special Files 5 - File Formats 6 - Games 7 - Macros and Conventions 8 - Maintenance Commands 9 - Kernel Interface n - New Commands

### Contents

_AXPY(3F)							     _AXPY(3F)

### NAME[Toc][Back]

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[Toc][Back]

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[Toc][Back]

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.

### AUTHORS[Toc][Back]

Jack Dongarra, linpack, 3/11/78.

PPPPaaaaggggeeee 2222
[ Back ]
Similar pages