A high-performance general-purpose compute library

Evaluate the inverse tangent function (arc tangent). More...

Functions

AFAPI array atan (const array &in)
 C++ Interface to evaluate the inverse tangent function. More...
 
AFAPI af_err af_atan (af_array *out, const af_array in)
 C Interface to evaluate the inverse tangent function. More...
 
AFAPI af_err af_atan2 (af_array *out, const af_array lhs, const af_array rhs, const bool batch)
 C Interface to evaluate the inverse tangent of two arrays. More...
 
AFAPI array atan2 (const array &lhs, const array &rhs)
 C++ Interface to evaluate the inverse tangent of two arrays. More...
 
AFAPI array atan2 (const array &lhs, const double rhs)
 C++ Interface to evaluate the inverse tangent of two arrays. More...
 
AFAPI array atan2 (const double lhs, const array &rhs)
 C++ Interface to evaluate the inverse tangent of two arrays. More...
 

Detailed Description

Evaluate the inverse tangent function (arc tangent).

Function Documentation

◆ af_atan()

AFAPI af_err af_atan ( af_array out,
const af_array  in 
)

C Interface to evaluate the inverse tangent function.

Parameters
[out]outinverse tangent
[in]ininput array
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given

◆ af_atan2()

AFAPI af_err af_atan2 ( af_array out,
const af_array  lhs,
const af_array  rhs,
const bool  batch 
)

C Interface to evaluate the inverse tangent of two arrays.

Parameters
[out]outinverse tangent of two arrays
[in]lhsnumerator
[in]rhsdenominator
[in]batchbatch mode
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given

◆ atan()

AFAPI array atan ( const array in)

C++ Interface to evaluate the inverse tangent function.

Parameters
[in]ininput array
Returns
inverse tangent

◆ atan2() [1/3]

AFAPI array atan2 ( const array lhs,
const array rhs 
)

C++ Interface to evaluate the inverse tangent of two arrays.

Parameters
[in]lhsvalue of numerator
[in]rhsvalue of denominator
Returns
inverse tangent of the inputs

◆ atan2() [2/3]

AFAPI array atan2 ( const array lhs,
const double  rhs 
)

C++ Interface to evaluate the inverse tangent of two arrays.

Parameters
[in]lhsvalue of numerator
[in]rhsvalue of denominator
Returns
inverse tangent of the inputs

◆ atan2() [3/3]

AFAPI array atan2 ( const double  lhs,
const array rhs 
)

C++ Interface to evaluate the inverse tangent of two arrays.

Parameters
[in]lhsvalue of numerator
[in]rhsvalue of denominator
Returns
inverse tangent of the inputs