cos of input More...

Functions

AFAPI array cos (const array &in)
 C++ Interface for cos. More...
 
AFAPI af_err af_cos (af_array *out, const af_array in)
 C Interface for cos. More...
 

Detailed Description

cos of input

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

Function Documentation

AFAPI af_err af_cos ( af_array out,
const af_array  in 
)

C Interface for cos.

Parameters
[out]outwill contain cos of input
[in]inis input array
Returns
AF_SUCCESS if the execution completes properly
AFAPI array af::cos ( const array in)

C++ Interface for cos.

Parameters
[in]inis input array
Returns
cos of input
Examples:
graphics/plot3.cpp, graphics/surface.cpp, and image_processing/filters.cpp.