Template Function librapid::exp(VAL&&)#

Function Documentation#

template<class VAL>
auto librapid::exp(VAL &&val) -> detail::Function<typetraits::DescriptorType_t<VAL>, detail::Exp, VAL>#

Raise e to the power of each element in the array.

\(R = \{ R_0, R_1, R_2, ... \} \) \text{ where } \(R_i = e^{A_i}\)

Template Parameters

VAL – Type of the input

Parameters

val – The input array or function

Returns

Exponential function object