A high-performance general-purpose compute library

Evaluate the exponential function. More...

Functions

AFAPI array exp (const array &in)
 C++ Interface to evaluate the exponential. More...
 
AFAPI af_err af_exp (af_array *out, const af_array in)
 C Interface to evaluate the exponential. More...
 

Detailed Description

Evaluate the exponential function.

Function Documentation

◆ af_exp()

AFAPI af_err af_exp ( af_array out,
const af_array  in 
)

C Interface to evaluate the exponential.

Parameters
[out]oute raised to the power of in
[in]inexponent
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given

◆ exp()

AFAPI array exp ( const array in)

C++ Interface to evaluate the exponential.

Parameters
[in]inexponent
Returns
exponential
Examples
financial/heston_model.cpp.