
#include <mvec.h> void vcsadd (int n, double complex *restrict y, int incy, const double complex *restrict x, int incx, double complex a); void vcsaddf(int n, float complex *restrict y, int incy, const float complex *restrict x, int incx, float complex a); #include <mvec64.h> void vcsadd_64 (long n, double complex *restrict y, long incy, double complex *restrict x, long incx, double complex a); void vcsaddf_64(long n, float complex *restrict y, long incy, float complex *restrict x, long incx, float complex a);
Given an input vector
and a scalar constant
and a result vector
, this function computes:

ENTRY: Number of elements of
and
.
CONSTRAINT:
.
EXIT: Result vector
.
CONSTRAINT: Must contain
elements.
CONSTRAINT: Must not overlap with array
.
ENTRY: Stride for the vector
.
CONSTRAINT:
.
BEHAVIOR: A negative stride will traverse the array in reverse.
ENTRY: Input vector
.
CONSTRAINT: Must contain
elements.
CONSTRAINT: Must not overlap with array
.
ENTRY: Stride for the vector
.
CONSTRAINT:
.
BEHAVIOR: A negative stride will traverse the array in reverse.
ENTRY: Scalar constant
.