ArrayFire: cos

Evaluate the cosine function. More...

Functions

AFAPI array cos (const array &in)
 C++ Interface to evaluate the cosine function. More...
 
AFAPI af_err af_cos (af_array *out, const af_array in)
 C Interface to evaluate the cosine function. More...
 

Evaluate the cosine function.

◆ af_cos()

C Interface to evaluate the cosine function.

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

C++ Interface to evaluate the cosine function.

Parameters
Returns
cosine
Examples
pde/bhrt.cpp.