.TH "axpy" 3 "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME axpy \- axpy: y = ax + y .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "subroutine \fBcaxpy\fP (n, ca, cx, incx, cy, incy)" .br .RI "\fBCAXPY\fP " .ti -1c .RI "subroutine \fBdaxpy\fP (n, da, dx, incx, dy, incy)" .br .RI "\fBDAXPY\fP " .ti -1c .RI "subroutine \fBsaxpy\fP (n, sa, sx, incx, sy, incy)" .br .RI "\fBSAXPY\fP " .ti -1c .RI "subroutine \fBzaxpy\fP (n, za, zx, incx, zy, incy)" .br .RI "\fBZAXPY\fP " .in -1c .SH "Detailed Description" .PP .SH "Function Documentation" .PP .SS "subroutine caxpy (integer n, complex ca, complex, dimension(*) cx, integer incx, complex, dimension(*) cy, integer incy)" .PP \fBCAXPY\fP .PP \fBPurpose:\fP .RS 4 .PP .nf !> !> CAXPY constant times a vector plus a vector\&. !> .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf !> N is INTEGER !> number of elements in input vector(s) !> .fi .PP .br \fICA\fP .PP .nf !> CA is COMPLEX !> On entry, CA specifies the scalar alpha\&. !> .fi .PP .br \fICX\fP .PP .nf !> CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) !> .fi .PP .br \fIINCX\fP .PP .nf !> INCX is INTEGER !> storage spacing between elements of CX !> .fi .PP .br \fICY\fP .PP .nf !> CY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) !> .fi .PP .br \fIINCY\fP .PP .nf !> INCY is INTEGER !> storage spacing between elements of CY !> .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf !> !> jack dongarra, linpack, 3/11/78\&. !> modified 12/3/93, array(1) declarations changed to array(*) !> .fi .PP .RE .PP .PP Definition at line \fB87\fP of file \fBcaxpy\&.f\fP\&. .SS "subroutine daxpy (integer n, double precision da, double precision, dimension(*) dx, integer incx, double precision, dimension(*) dy, integer incy)" .PP \fBDAXPY\fP .PP \fBPurpose:\fP .RS 4 .PP .nf !> !> DAXPY constant times a vector plus a vector\&. !> uses unrolled loops for increments equal to one\&. !> .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf !> N is INTEGER !> number of elements in input vector(s) !> .fi .PP .br \fIDA\fP .PP .nf !> DA is DOUBLE PRECISION !> On entry, DA specifies the scalar alpha\&. !> .fi .PP .br \fIDX\fP .PP .nf !> DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) !> .fi .PP .br \fIINCX\fP .PP .nf !> INCX is INTEGER !> storage spacing between elements of DX !> .fi .PP .br \fIDY\fP .PP .nf !> DY is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) !> .fi .PP .br \fIINCY\fP .PP .nf !> INCY is INTEGER !> storage spacing between elements of DY !> .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf !> !> jack dongarra, linpack, 3/11/78\&. !> modified 12/3/93, array(1) declarations changed to array(*) !> .fi .PP .RE .PP .PP Definition at line \fB88\fP of file \fBdaxpy\&.f\fP\&. .SS "subroutine saxpy (integer n, real sa, real, dimension(*) sx, integer incx, real, dimension(*) sy, integer incy)" .PP \fBSAXPY\fP .PP \fBPurpose:\fP .RS 4 .PP .nf !> !> SAXPY constant times a vector plus a vector\&. !> uses unrolled loops for increments equal to one\&. !> .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf !> N is INTEGER !> number of elements in input vector(s) !> .fi .PP .br \fISA\fP .PP .nf !> SA is REAL !> On entry, SA specifies the scalar alpha\&. !> .fi .PP .br \fISX\fP .PP .nf !> SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) !> .fi .PP .br \fIINCX\fP .PP .nf !> INCX is INTEGER !> storage spacing between elements of SX !> .fi .PP .br \fISY\fP .PP .nf !> SY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) !> .fi .PP .br \fIINCY\fP .PP .nf !> INCY is INTEGER !> storage spacing between elements of SY !> .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf !> !> jack dongarra, linpack, 3/11/78\&. !> modified 12/3/93, array(1) declarations changed to array(*) !> .fi .PP .RE .PP .PP Definition at line \fB88\fP of file \fBsaxpy\&.f\fP\&. .SS "subroutine zaxpy (integer n, complex*16 za, complex*16, dimension(*) zx, integer incx, complex*16, dimension(*) zy, integer incy)" .PP \fBZAXPY\fP .PP \fBPurpose:\fP .RS 4 .PP .nf !> !> ZAXPY constant times a vector plus a vector\&. !> .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf !> N is INTEGER !> number of elements in input vector(s) !> .fi .PP .br \fIZA\fP .PP .nf !> ZA is COMPLEX*16 !> On entry, ZA specifies the scalar alpha\&. !> .fi .PP .br \fIZX\fP .PP .nf !> ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) !> .fi .PP .br \fIINCX\fP .PP .nf !> INCX is INTEGER !> storage spacing between elements of ZX !> .fi .PP .br \fIZY\fP .PP .nf !> ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) !> .fi .PP .br \fIINCY\fP .PP .nf !> INCY is INTEGER !> storage spacing between elements of ZY !> .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf !> !> jack dongarra, 3/11/78\&. !> modified 12/3/93, array(1) declarations changed to array(*) !> .fi .PP .RE .PP .PP Definition at line \fB87\fP of file \fBzaxpy\&.f\fP\&. .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.