---
title: EXP
description: "Vector arithmetic exponential: applies the base-e exponential to each input value. Element-wise math transform."
---

# EXP

## Summary

Vector arithmetic exponential: applies the base-e exponential to each input value. Element-wise math transform.

## Formula

outReal[i] = exp(inReal[i]) = e^{inReal[i]}

## Inputs

- `inReal` — Input values

## Outputs

- `outReal` — e raised to each input value

## Implementation

TA-Lib Definition: [`exp.c`](https://github.com/TA-Lib/ta-lib/blob/main/ta_codegen/input/exp/exp.c) · [`exp.yaml`](https://github.com/TA-Lib/ta-lib/blob/main/ta_codegen/input/exp/exp.yaml)

| Native | File |
|--------|------|
| C | [`ta_EXP.c`](https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_EXP.c) |
| Rust | [`exp.rs`](https://github.com/TA-Lib/ta-lib/blob/main/ta_codegen/output/rust/src/ta_func/exp.rs) |
| Java | [`Core.java`](https://github.com/TA-Lib/ta-lib/blob/main/java/src/com/tictactec/ta/lib/Core.java) |

TA-Lib is also available for Python, R and more using a [wrapper](https://ta-lib.org/wrappers/).

## Aliases

exponential, e^x

## See Also

[LN](ln.md) · [SQRT](sqrt.md)
