Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

v?CIS

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

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.

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 for possible values and their description.

Output Parameters

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.

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