v?ErfcInv
v?ErfcInv
Computes the inverse complementary error function value of vector elements.
Syntax
vsErfcInv
(
n
,
a
,
y
)
;
vsErfcInvI(n, a, inca, y, incy);
vmsErfcInv
(
n
,
a
,
y
,
mode
)
;
vmsErfcInvI(n, a, inca, y, incy, mode);
vdErfcInv
(
n
,
a
,
y
)
;
vdErfcInvI(n, a, inca, y, incy);
vmdErfcInv
(
n
,
a
,
y
,
mode
)
;
vmdErfcInvI(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 float* for vsErfcInv , vmsErfcInv const double* for vdErfcInv , vmdErfcInv | 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 | float* for vsErfcInv , vmsErfcInv double* for vdErfcInv , vmdErfcInv | Pointer to an array that contains the output vector y . |
Description
The
ErfcInv
function computes the inverse complimentary error function values for elements of the input vector a
and writes them to the output vector y
.The inverse complementary error function is defined as given by:



where
erf(x)
denotes the error function and erfinv(x)
denotes the inverse error function. See also Figure
"ErfInv Family Functions Relationship"
in ErfInv
function description for ErfcInv
function relationship with the other functions of ErfInv
family.Argument | Result | VM Error Status | Exception |
---|---|---|---|
+1 | +0 | ||
+2 | - ∞ | VML_STATUS_SING | ZERODIVIDE |
-0 | + ∞ | VML_STATUS_SING | ZERODIVIDE |
+0 | + ∞ | VML_STATUS_SING | ZERODIVIDE |
X < -0 | QNAN | VML_STATUS_ERRDOM | INVALID |
X > +2 | QNAN | VML_STATUS_ERRDOM | INVALID |
+ ∞ | QNAN | VML_STATUS_ERRDOM | INVALID |
- ∞ | QNAN | VML_STATUS_ERRDOM | INVALID |
QNAN | QNAN | ||
SNAN | QNAN | INVALID |