A high-performance general-purpose compute library

Evaluate the sine function. More...

Functions

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

Detailed Description

Evaluate the sine function.

Function Documentation

◆ af_sin()

AFAPI 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()

AFAPI array sin ( const array in)

C++ Interface to evaluate the sine function.

Parameters
[in]ininput array
Returns
sine