ee.Number.exp

Computes the Euler's number e raised to the power of the input.

UsageReturns
Number.exp()Number
ArgumentTypeDetails
this: inputNumber

The input value.

Examples

Code Editor (JavaScript)

print('e^-1', ee.Number(-1).exp());  // 0.367879441
print('e^0', ee.Number(0).exp());  // 1
print('e^1', ee.Number(1).exp());  // 2.718281828
print('e^2', ee.Number(2).exp());  // 7.389056098