Computes the inverse complementary error function value of vector elements.

Syntax

vsErfcInv( n, a, y );

vmsErfcInv( n, a, y, mode );

vdErfcInv( n, a, y );

vmdErfcInv( n, a, y, 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.

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:


Equation


Equation


Equation

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.

Special Values for Real Function v?ErfcInv(x)
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

See Also

有关编译器优化的更完整信息,请参阅优化通知
选择粘滞按钮颜色: 
Orange (only for download buttons)