Vector as exponent with the Euler's number basis

For the record, Euler’s number is bound to (i.e., \euler<TAB>). So you can do

julia> ℯ.^[1,2,3]
3-element Vector{Float64}:
  2.718281828459045
  7.38905609893065
 20.085536923187668
1 Like