ArrayFire: atan/atan2

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

Evaluate the inverse tangent function (arc tangent).

◆ af_atan()

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()

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

C++ Interface to evaluate the inverse tangent function.

Parameters
Returns
inverse tangent

◆ atan2() [1/3]

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
Examples
pde/bhrt.cpp.

◆ atan2() [2/3]

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]

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