#include <mvec.h> void vrem (int n, double *restrict z, int incz, const double *restrict x, int incx, const double *restrict y, int incy); void vremf(int n, float *restrict z, int incz, const float *restrict x, int incx, const float *restrict y, int incy); void vrem_64 (long n, double *restrict z, long incz, const double *restrict x, long incx, const double *restrict y, long incy); void vremf_64(long n, float *restrict z, long incz, const float *restrict x, long incx, const float *restrict y, long incy);
Given input vectors and
and a result vector
, this function computes the remainder of dividing
by
and stores the result
in
.
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: .
BEHAVIOR: A negative stride will traverse the array in reverse.
ENTRY: Input vector .
CONSTRAINT: Must contain elements.
CONSTRAINT: Must not overlap with array or
.
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 or
.
ENTRY: Stride for the vector .
CONSTRAINT: .
BEHAVIOR: A negative stride will traverse the array in reverse.