exp

Functions
exp
Complete List of ArrayFire Functions ArrayFire Functions by Category » Mathematical functions » | Exponential and logarithmic functions

Exponential of input. More...

## Functions
AFAPI array | exp (const array &in)
| C++ Interface for exponential of an array. More...
AFAPI af_err | af_exp (af_array *out, const af_array in)
| C Interface for exponential of an array. More...

## Detailed Description

Exponential of input.

## Function Documentation

## ◆ af_exp()

AFAPI af_err af_exp | ( | af_array * | out,
|  | const af_array | in
| ) |  |

C Interface for exponential of an array.

Parameters

  [out] | out | will contain the exponential of `in`
  [in] | in | is exponent

Returns
  AF_SUCCESS if the execution completes properly

## ◆ exp()

AFAPI array af::exp | ( | const array & | in | ) |

C++ Interface for exponential of an array.

Parameters

  [in] | in | is exponent

Returns
  the exponential of `in`

Examples:
  financial/black_scholes_options.cpp, financial/heston_model.cpp, financial/monte_carlo_options.cpp, image_processing/brain_segmentation.cpp, machine_learning/softmax_regression.cpp, and pde/swe.cpp.