v?ErfInv
v?ErfInv
Computes inverse error function value of vector elements.
Syntax
vsErfInv
(
n
,
a
,
y
)
;
vsErfInvI(n, a, inca, y, incy);
vmsErfInv
(
n
,
a
,
y
,
mode
)
;
vmsErfInvI(n, a, inca, y, incy, mode);
vdErfInv
(
n
,
a
,
y
)
;
vdErfInvI(n, a, inca, y, incy);
vmdErfInv
(
n
,
a
,
y
,
mode
)
;
vmdErfInvI(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 vsErfInv , vmsErfInv const double* for vdErfInv , vmdErfInv | 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 vsErfInv , vmsErfInv double* for vdErfInv , vmdErfInv | Pointer to an array that contains the output vector y . |
Description
The
ErfInv
function computes the inverse error function values for elements of the input vector a
and writes them to the output vector y
y
= erf
-1
(a
)where is the error function defined as given by:
erf
(x
)
Useful relations:

where
erfc
is the complementary error function.
where

is the cumulative normal distribution function.

where and and
Φ
-1
(x
)erf
are the inverses to -1
(x
)Φ
(x
)erf(
respectively.x
)Figure
"ErfInv Family Functions Relationship"
illustrates the relationships among ErfInv
family functions (ErfInv
, ErfcInv
, CdfNormInv
).ErfInv Family Functions Relationship

Useful relations for these functions:


Argument | Result | VM Error Status | Exception |
---|---|---|---|
+0 | +0 | ||
-0 | -0 | ||
+1 | + ∞ | VML_STATUS_SING | ZERODIVIDE |
-1 | - ∞ | VML_STATUS_SING | ZERODIVIDE |
|X| > 1 | QNAN | VML_STATUS_ERRDOM | INVALID |
+ ∞ | QNAN | VML_STATUS_ERRDOM | INVALID |
- ∞ | QNAN | VML_STATUS_ERRDOM | INVALID |
QNAN | QNAN | ||
SNAN | QNAN | INVALID |