Natural logarithm of (1 + in) More...

Functions

AFAPI array log1p (const array &in)
 C++ Interface for natural logarithm of 1 + input. More...
 
AFAPI af_err af_log1p (af_array *out, const af_array in)
 C Interface for logarithm of (in + 1) More...
 

Detailed Description

Natural logarithm of (1 + in)

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

Function Documentation

◆ af_log1p()

AFAPI af_err af_log1p ( af_array out,
const af_array  in 
)

C Interface for logarithm of (in + 1)

Parameters
[out]outwill contain the logarithm of of (in + 1)
[in]inis input
Returns
AF_SUCCESS if the execution completes properly

◆ log1p()

AFAPI array af::log1p ( const array in)

C++ Interface for natural logarithm of 1 + input.

Parameters
[in]inis input
Returns
the natural logarithm of (1 + input)
Note
This function is useful when is small