Developer Reference for Intel® oneAPI Math Kernel Library for C
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
vcCIS ( n , a , y ) ;
vcCISI(n, a, inca, y, incy);
vmcCIS ( n , a , y , mode ) ;
vmcCISI(n, a, inca, y, incy, mode);
vzCIS ( n , a , y ) ;
vzCISI(n, a, inca, y, incy);
vmzCIS ( n , a , y , mode ) ;
vmzCISI(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 vcCIS , vmcCIS const double* for vzCIS , vmzCIS |
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 (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 |
MKL_Complex8* for vcCIS , vmcCIS MKL_Complex16* for vzCIS , vmzCIS |
Pointer to an array that contains 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=-∞