Functions

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

Detailed Description

sin of input

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

Function Documentation

◆ af_sin()

AFAPI af_err af_sin ( af_array out,
const af_array  in 
)

C Interface for sin.

Parameters
[out]outwill contain sin of input
[in]inis input array
Returns
AF_SUCCESS if the execution completes properly

◆ sin()

AFAPI array af::sin ( const array in)

C++ Interface for sin.

Parameters
[in]inis input array
Returns
sin of input
Examples
graphics/field.cpp, graphics/gravity_sim.cpp, graphics/plot2d.cpp, graphics/plot3.cpp, graphics/surface.cpp, helloworld/helloworld.cpp, and image_processing/filters.cpp.