#include <mvec.h> void vsmul (int n, double *y, int incy, const double *x, int incx, double a); void vsmulf(int n, float *y, int incy, const float *x, int incx, float 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: .
ENTRY: Input vector .
CONSTRAINT: Must contain elements.
CONSTRAINT: Must not overlap with array .
ENTRY: Stride for the vector .
CONSTRAINT: .
ENTRY: Scalar constant .