Visible to Intel only — GUID: GUID-C19D4FA0-BB08-484B-94CC-2C7BB81D20CC
Visible to Intel only — GUID: GUID-C19D4FA0-BB08-484B-94CC-2C7BB81D20CC
v?Erfcx
Computes the scaled complementary error function value of vector elements.
Syntax
vhErfcx( n, a, y ); vhErfcxI(n, a, inca, y, incy); vmhErfcx( n, a, y, mode ); vmhErfcxI(n, a, inca, y, incy, mode); vsErfcx( n, a, y ); vsErfcxI(n, a, inca, y, incy); vmsErfcx( n, a, y, mode ); vmsErfcxI(n, a, inca, y, incy, mode); vdErfcx( n, a, y ); vdErfcxI(n, a, inca, y, incy); vmdErfcx( n, a, y, mode ); vmdErfcxI(n, a, inca, y, incy, mode);
Include Files
mkl.h
Input Parameters
Name |
Type |
Description |
---|---|---|
n |
const MKL_INT |
Specifies the number of elements to be calculated. |
a |
const _Float16* for vhErfcx, vmhErfcx const float* for vsErfcx, vmsErfcx const double* for vdErfcx, vmdErfcx |
Pointer to an array that contains the input vector a. |
inca, incy |
const MKL_INT |
Specifies increments for the elements of a and y. |
mode |
const MKL_INT64 |
Overrides global VM mode setting for this function call. See vmlSetMode for possible values and their description. |
Output Parameters
Name |
Type |
Description |
---|---|---|
y |
_Float16* for vhErfcx, vmhErfcx float* for vsErfcx, vmsErfcx double* for vdErfcx, vmdErfcx |
Pointer to an array that contains the output vector y. |
Description
The Erfcx function computes the scaled complementary error function values for elements of the input vector a and writes them to the output vector y.
The scaled complementary error function is defined as follows:
erfcx(x) = exp(x2)▪erfc(x)
Argument | Result | VM Error Status | Exception |
---|---|---|---|
+∞ | +0 | ||
-∞ | +∞ | ||
QNAN | QNAN | ||
SNAN | QNAN | INVALID |