Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
v?CIS
vcCIS vzCIS vmcCIS vmzCIS Computes complex exponent of real vector elements (cosine and sine of real vector elements combined to complex value).
Syntax
call vccis ( n , a , y )
call vccisi(n, a, inca, y, incy)
call vmccis ( n , a , y , mode )
call vmccisi(n, a, inca, y, incy, mode)
call vzcis ( n , a , y )
call vzcisi(n, a, inca, y, incy)
call vmzcis ( n , a , y , mode )
call vmzcisi(n, a, inca, y, incy, mode)
Include Files
mkl_vml.f90
Input Parameters
Name |
Type |
Description |
|---|---|---|
n |
Specifies the number of elements to be calculated. |
|
a |
Fortran 77: DOUBLE PRECISION for vzcis , vmzcisFortran 90: REAL , INTENT(IN) for vccis , vmccisFortran 90: DOUBLE PRECISION , INTENT(IN) for vzcis , vmzcis |
Array that specifies the input vector a . |
inca , incy |
INTEGER, INTENT(IN) |
Specifies increments for the elements of a and y . |
mode |
INTEGER(KIND=8) , INTENT(IN) |
Overrides global VM mode setting for this function call. See vmlSetMode (Sets a new mode for VM functions according to the mode parameter and stores the previous VM mode to oldmode.) for possible values and their description. |
Output Parameters
Name |
Type |
Description |
|---|---|---|
y |
Fortran 77: DOUBLE COMPLEX for vzcis , vmzcisFortran 90: COMPLEX , INTENT(OUT) for vccis , vmccisFortran 90: DOUBLE COMPLEX , INTENT(OUT) for vzcis , vmzcis |
Array that specifies the output vector y . |
Description
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.
Special Values for Complex Function v?CIS(x)
x |
CIS(x) |
|---|---|
|
QNAN+i · QNAN INVALID |
|
+1+i · 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=-∞