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] out cosine [in] in input array
- Returns
- AF_SUCCESS, if function returns successfully, else an af_err code is given