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

◆ af_cos()

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

◆ cos()

AFAPI array af::cos ( const array in)

C++ Interface for cos.

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