#include <mvecml.h> void vmlprelu (int n, double *y, int incy, double a, const double *x, int incx); void vmlpreluf(int n, float *y, int incy, float a, const float *x, int incx);
Given an input vector
, a result vector
and a constant
this function computes the PReLU activation function of the
values in the
vector and stores the result in the
vector.

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: Constant
.
ENTRY: Input vector
.
CONSTRAINT: Must contain
elements.
CONSTRAINT: Must not overlap with array
.
ENTRY: Stride for the vector
.
CONSTRAINT:
.