# exp {#exp}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`exp(X)`

## Arguments {#arguments}

**X** is a scalar/pair/vector/matrix/table.

## Details {#details}

Apply the exponential function to all elements of *X*.

## Examples {#examples}

```
exp(1 2 3);
// output: [2.718282,7.389056,20.085537]

log(exp(1));
// output: 1
```

