Skip to content

Function exp

function exp(const T1 &) math

template <numeric T1>
KFR_FUNCTION flt_type<T1> exp(const T1& x)

Returns e raised to the given power x.

Applied element-wise for vector inputs. Negative infinity input yields zero; +infinity yields +infinity.

Template parameters
T1 Input numeric type.
Parameters
x Power to which e is raised.
Returns
e^x as flt_type<T1>.

Fully qualified name: kfr::exp(const T1 &)

Declared at math/log_exp.hpp:43

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.