#include <mvec.h> void vsub (int n, double *z, int incz, const double *x, int incx, const double *y, int incy); void vsubf(int n, float *z, int incz, const float *x, int incx, const float *y, int incy);
Given input vectors and
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 or
.
ENTRY: Stride for the vector .
CONSTRAINT: .
ENTRY: Input vector .
CONSTRAINT: Must contain elements.
CONSTRAINT: Must not overlap with array or
.
ENTRY: Stride for the vector .
CONSTRAINT: .
ENTRY: Input vector .
CONSTRAINT: Must contain elements.
CONSTRAINT: Must not overlap with array or
.
ENTRY: Stride for the vector .
CONSTRAINT: .