Computes complex exponent of real vector elements (cosine and sine of real vector elements combined to complex value).

Syntax

vcCIS( n, a, y );

vmcCIS( n, a, y, mode );

vzCIS( n, a, y );

vmzCIS( n, a, y, 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.

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

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

+ 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=-

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.
Seleccione el color del botón adhesivo: 
Orange (only for download buttons)