A high-performance general-purpose compute library

Evaluate the base 10 logarithm. More...

Functions

AFAPI array log10 (const array &in)
 C++ Interface to evaluate the base 10 logarithm. More...
 
AFAPI af_err af_log10 (af_array *out, const af_array in)
 C Interface to evaluate the base 10 logarithm. More...
 

Detailed Description

Evaluate the base 10 logarithm.

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

Function Documentation

◆ af_log10()

AFAPI af_err af_log10 ( af_array out,
const af_array  in 
)

C Interface to evaluate the base 10 logarithm.

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

◆ log10()

AFAPI array log10 ( const array in)

C++ Interface to evaluate the base 10 logarithm.

Parameters
[in]ininput
Returns
base 10 logarithm