exp

Syntax

exp(X)

Arguments

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

Details

Apply the exponential function to all elements of X.

Examples

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

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