My Project

Functions

AFAPI array atan (const array &in)
 C++ Interface for arc tan (tan inverse) More...
 
AFAPI af_err af_atan (af_array *out, const af_array in)
 C Interface for arc tan. More...
 
AFAPI af_err af_atan2 (af_array *out, const af_array lhs, const af_array rhs, const bool batch)
 C Interface for arc tan of two inputs. More...
 
AFAPI array atan2 (const array &lhs, const array &rhs)
 
AFAPI array atan2 (const array &lhs, const double rhs)
 
AFAPI array atan2 (const double lhs, const array &rhs)
 

Detailed Description

arc tan of input

Note
This function supports real inputs only. Complex inputs are not yet supported.

Function Documentation

◆ af_atan()

AFAPI af_err af_atan ( af_array out,
const af_array  in 
)

C Interface for arc tan.

Parameters
[out]outwill contain arc tan of input
[in]inis input array
Returns
AF_SUCCESS if the execution completes properly

◆ af_atan2()

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

C Interface for arc tan of two inputs.

Parameters
[out]outwill arc tan of the inputs
[in]lhsvalue of numerator
[in]rhsvalue of denominator
[in]batchspecifies if operations need to be performed in batch mode
Returns
AF_SUCCESS if the execution completes properly

◆ atan()

AFAPI array af::atan ( const array in)

C++ Interface for arc tan (tan inverse)

Parameters
[in]inis input array
Returns
arc tan of input

◆ atan2() [1/3]

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

C++ Interface for arc tan of two arrays

Parameters
[in]lhsvalue of numerator
[in]rhsvalue of denominator
Returns
arc tan of the inputs
Examples
image_processing/edge.cpp, and image_processing/filters.cpp.

◆ atan2() [2/3]

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

C++ Interface for arc tan of two arrays

Parameters
[in]lhsvalue of numerator
[in]rhsvalue of denominator
Returns
arc tan of the inputs

◆ atan2() [3/3]

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

C++ Interface for arc tan of two arrays

Parameters
[in]lhsvalue of numerator
[in]rhsvalue of denominator
Returns
arc tan of the inputs