Visible to Intel only — GUID: GUID-0BB24875-B5A8-4B41-BE12-F3A137B2DE2E
Visible to Intel only — GUID: GUID-0BB24875-B5A8-4B41-BE12-F3A137B2DE2E
v?CdfNorm
Computes the cumulative normal distribution function values of vector elements.
Syntax
vsCdfNorm( n, a, y );
vsCdfNormI(n, a, inca, y, incy);
vmsCdfNorm( n, a, y, mode );
vmsCdfNormI(n, a, inca, y, incy, mode);
vdCdfNorm( n, a, y );
vdCdfNormI(n, a, inca, y, incy);
vmdCdfNorm( n, a, y, mode );
vmdCdfNormI(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 vsCdfNorm, vmsCdfNorm const double* for vdCdfNorm, vmdCdfNorm |
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 vsCdfNorm, vmsCdfNorm double* for vdCdfNorm, vmdCdfNorm |
Pointer to an array that contains the output vector y. |
Description
The CdfNorm function computes the cumulative normal distribution function values for elements of the input vector a and writes them to the output vector y.
The cumulative normal distribution function is defined as given by:
Useful relations:
where Erf and Erfc are the error and complementary error functions.
See also Figure "Erf Family Functions Relationship" in Erf function description for CdfNorm function relationship with the other functions of Erf family.
Argument | Result | VM Error Status | Exception |
---|---|---|---|
X < underflow | +0 | VML_STATUS_UNDERFLOW | UNDERFLOW |
+∞ | +1 | ||
-∞ | +0 | ||
QNAN | QNAN | ||
SNAN | QNAN | INVALID |