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?Atanpi

Computes the inverse tangent of vector elements divided by π.

Syntax

call vsatanpi (n, a, y)

call vsatanpii(n, a, inca, y, incy)

call vmsatanpi (n, a, y, mode)

call vmsatanpii(n, a, inca, y, incy, mode)

call vdatanpi (n, a, y)

call vdatanpii(n, a, inca, y, incy)

call vmdatanpi (n, a, y, mode)

call vmdatanpii(n, a, inca, y, incy, mode)

Include Files
  • mkl_vml.f90
Input Parameters

Name

Type

Description

n

INTEGER

Specifies the number of elements to be calculated.

a

REAL for vsatanpi

REAL for vmsatanpi

DOUBLE PRECISION for vdatanpi

DOUBLE PRECISION for vmdatanpi

Pointer to the array containing the input vector a.

inca, incy

INTEGER, INTENT(IN)

Specifies increments for the elements of a and y.

mode

INTEGER (KIND=8)

Overrides the global VM mode setting for this function call. See vmlSetMode for possible values and their description.

Output Parameters

Name

Type

Description

y

REAL for vsatanpi

REAL for vmsatanpi

DOUBLE PRECISION for vdatanpi

DOUBLE PRECISION for vmdatanpi

Pointer to an array containing the output vector y.

Description

The v?Atanpi function computes the inverse tangent of vector elements divided by π. For an argument x, the function computes atan(x)/π.

Special values for Real Function v?Atanpi(x)
Argument Result VM Error Status Exception
+0 +0    
-0 -0    
+ +1/2    
- -1/2    
QNAN QNAN    
SNAN QNAN   INVALID

See Also