Visible to Intel only — GUID: GUID-CE964FD3-D865-4CE9-8FC4-0AA5EEFC936C
Visible to Intel only — GUID: GUID-CE964FD3-D865-4CE9-8FC4-0AA5EEFC936C
v?Sind
Computes the sine of vector elements multiplied by π/180.
Syntax
vsSind (n, a, y);
vsSindI(n, a, inca, y, incy);
vmsSind (n, a, y, mode);
vmsSindI(n, a, inca, y, incy, mode);
vdSind (n, a, y);
vdSindI(n, a, inca, y, incy);
vmdSind (n, a, y, mode);
vmdSindI(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 vsSind const float* for vmsSind const double* for vdSind const double* for vmdSind |
Pointer to the array containing the input vector a. |
inca, incy |
const MKL_INT |
Specifies increments for the elements of a and y. |
mode |
const MKL_INT64 |
Overrides the global VM mode setting for this function call. See vmlSetMode for possible values and their description. |
Output Parameters
Name |
Type |
Description |
---|---|---|
y |
float* for vsSind float* for vmsSind double* for vdSind double* for vmdSind |
Pointer to an array containing the output vector y. |
Description
The v?Sind function computes the sine of vector elements multiplied by π/180. For an argument x, the function computes sin(π*x/180).
Argument | Result | VM Error Status | Exception |
---|---|---|---|
+0 | +0 | ||
-0 | -0 | ||
±∞ | QNAN | VML_STATUS_ERRDOM | INVALID |
QNAN | QNAN | ||
SNAN | QNAN | INVALID |
Application Notes
If arguments abs(ai) ≤ 224 for single precision or abs(ai) ≤ 252 for double precision, they belong to the fast computational path: arguments for which VM provides the best possible performance. Avoid arguments with do not belong to the fast computational path in VM High Accuracy (HA) or Low Accuracy (LA) functions. For arguments which do not belong to the fast computational path you can use VM Enhanced Performance (EP) functions, which are fast on the entire function domain. However, these functions provide lower accuracy.