ArrayFire: tan

Evaluate the tangent function. More...

Functions

AFAPI array tan (const array &in)
 C++ Interface to evaluate the tangent function. More...
 
AFAPI af_err af_tan (af_array *out, const af_array in)
 C Interface to evaluate the tangent function. More...
 

Evaluate the tangent function.

◆ af_tan()

C Interface to evaluate the tangent function.

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

C++ Interface to evaluate the tangent function.

Parameters
Returns
tangent
Examples
pde/bhrt.cpp.