A high-performance general-purpose compute library

Evaluate the sine function. More...

Functions

array sin (const array &in)
 C++ Interface to evaluate the sine function.
af_err af_sin (af_array *out, const af_array in)
 C Interface to evaluate the sine function.

Detailed Description

Evaluate the sine function.

Function Documentation

◆ af_sin()

af_err af_sin ( af_array * out,
const af_array in )

C Interface to evaluate the sine function.

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

◆ sin()

array sin ( const array & in)

C++ Interface to evaluate the sine function.

Parameters
[in]ininput array
Returns
sine
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.