Exponential of input - 1. More...

Functions

AFAPI array expm1 (const array &in)
 C++ Interface for exponential of an array minus 1. More...
 
AFAPI af_err af_expm1 (af_array *out, const af_array in)
 C Interface for exponential of an array minus 1. More...
 

Detailed Description

Exponential of input - 1.

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

Function Documentation

AFAPI af_err af_expm1 ( af_array out,
const af_array  in 
)

C Interface for exponential of an array minus 1.

Parameters
[out]outwill contain the exponential of in - 1
[in]inis input
Returns
AF_SUCCESS if the execution completes properly
AFAPI array af::expm1 ( const array in)

C++ Interface for exponential of an array minus 1.

Parameters
[in]inis exponent
Returns
the exponential of in - 1
Note
This function is useful when in is small