xtensor
Loading...
Searching...
No Matches
Exponential functions

Functions

template<class E >
auto xt::exp (E &&e) noexcept -> detail::xfunction_type_t< math::exp_fun, E >
 Natural exponential function.
 
template<class E >
auto xt::exp2 (E &&e) noexcept -> detail::xfunction_type_t< math::exp2_fun, E >
 Base 2 exponential function.
 
template<class E >
auto xt::expm1 (E &&e) noexcept -> detail::xfunction_type_t< math::expm1_fun, E >
 Natural exponential minus one function.
 
template<class E >
auto xt::log (E &&e) noexcept -> detail::xfunction_type_t< math::log_fun, E >
 Natural logarithm function.
 
template<class E >
auto xt::log10 (E &&e) noexcept -> detail::xfunction_type_t< math::log10_fun, E >
 Base 10 logarithm function.
 
template<class E >
auto xt::log2 (E &&e) noexcept -> detail::xfunction_type_t< math::log2_fun, E >
 Base 2 logarithm function.
 
template<class E >
auto xt::log1p (E &&e) noexcept -> detail::xfunction_type_t< math::log1p_fun, E >
 Natural logarithm of one plus function.
 

Detailed Description

Function Documentation

◆ exp()

template<class E >
auto xt::exp ( E && e) -> detail::xfunction_type_t<math::exp_fun, E>
inlinenoexcept

Natural exponential function.

Returns an xfunction for the element-wise natural exponential of e.

Parameters
ean xexpression
Returns
an xfunction

Definition at line 900 of file xmath.hpp.

◆ exp2()

template<class E >
auto xt::exp2 ( E && e) -> detail::xfunction_type_t<math::exp2_fun, E>
inlinenoexcept

Base 2 exponential function.

Returns an xfunction for the element-wise base 2 exponential of e.

Parameters
ean xexpression
Returns
an xfunction

Definition at line 915 of file xmath.hpp.

◆ expm1()

template<class E >
auto xt::expm1 ( E && e) -> detail::xfunction_type_t<math::expm1_fun, E>
inlinenoexcept

Natural exponential minus one function.

Returns an xfunction for the element-wise natural exponential of e, minus 1.

Parameters
ean xexpression
Returns
an xfunction

Definition at line 930 of file xmath.hpp.

◆ log()

template<class E >
auto xt::log ( E && e) -> detail::xfunction_type_t<math::log_fun, E>
inlinenoexcept

Natural logarithm function.

Returns an xfunction for the element-wise natural logarithm of e.

Parameters
ean xexpression
Returns
an xfunction

Definition at line 945 of file xmath.hpp.

◆ log10()

template<class E >
auto xt::log10 ( E && e) -> detail::xfunction_type_t<math::log10_fun, E>
inlinenoexcept

Base 10 logarithm function.

Returns an xfunction for the element-wise base 10 logarithm of e.

Parameters
ean xexpression
Returns
an xfunction

Definition at line 960 of file xmath.hpp.

◆ log1p()

template<class E >
auto xt::log1p ( E && e) -> detail::xfunction_type_t<math::log1p_fun, E>
inlinenoexcept

Natural logarithm of one plus function.

Returns an xfunction for the element-wise natural logarithm of e, plus 1.

Parameters
ean xexpression
Returns
an xfunction

Definition at line 990 of file xmath.hpp.

◆ log2()

template<class E >
auto xt::log2 ( E && e) -> detail::xfunction_type_t<math::log2_fun, E>
inlinenoexcept

Base 2 logarithm function.

Returns an xfunction for the element-wise base 2 logarithm of e.

Parameters
ean xexpression
Returns
an xfunction

Definition at line 975 of file xmath.hpp.