Intel® Math Kernel Library 2019 Developer Reference - Fortran
Computes complex exponent of real vector elements (cosine and sine of real vector elements combined to complex value).
call vccis( n, a, y )
call vmccis( n, a, y, mode )
call vzcis( n, a, y )
call vmzcis( n, a, y, mode )
Name |
Type |
Description |
|---|---|---|
n |
INTEGER, INTENT(IN) |
Specifies the number of elements to be calculated. |
a |
DOUBLE PRECISION for vzcis, vmzcis REAL, INTENT(IN) for vccis, vmccis DOUBLE PRECISION, INTENT(IN) for vzcis, vmzcis |
Array that specifies the input vector a. |
mode |
INTEGER(KIND=8), INTENT(IN) |
Overrides global VM mode setting for this function call. See vmlSetMode for possible values and their description. |
Name |
Type |
Description |
|---|---|---|
y |
DOUBLE COMPLEX for vzcis, vmzcis COMPLEX, INTENT(OUT) for vccis, vmccis DOUBLE COMPLEX, INTENT(OUT) for vzcis, vmzcis |
Array that specifies the output vector y. |
The v?CIS function computes complex exponent of real vector elements (cosine and sine of real vector elements combined to complex value).
See Special Value Notations for the conventions used in the table below.
x |
CIS(x) |
|---|---|
+ ∞ |
QNAN+i·QNAN INVALID |
+ 0 |
+1+i·0 |
- 0 |
+1-i·0 |
- ∞ |
QNAN+i·QNAN INVALID |
NAN |
QNAN+i·QNAN |
Notes:
raises INVALID exception when the argument is SNAN
raises INVALID exception and sets the VM Error Status to VML_STATUS_ERRDOM for x=+∞, x=-∞