A high-performance general-purpose compute library

Evaluate the natural logarithm. More...

Functions

AFAPI array log (const array &in)
 C++ Interface to evaluate the natural logarithm. More...
 
AFAPI af_err af_log (af_array *out, const af_array in)
 C Interface to evaluate the natural logarithm. More...
 

Detailed Description

Evaluate the natural logarithm.

Function Documentation

◆ af_log()

AFAPI af_err af_log ( af_array out,
const af_array  in 
)

C Interface to evaluate the natural logarithm.

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

◆ log()

AFAPI array log ( const array in)

C++ Interface to evaluate the natural logarithm.

Parameters
[in]ininput array
Returns
natural logarithm