E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

Detailed Description

These functions allows performing logarithm computations

Variables

constexpr auto eve::log = functor<log_t>
 elementwise_callable object computing the natural logarithm: \(\log x\).
 
constexpr auto eve::log10 = functor<log10_t>
 elementwise_callable object computing the base 10 logarithm: \(\log_{10} x\).
 
constexpr auto eve::log1p = functor<log1p_t>
 elementwise_callable object computing the natural logarithm of \(1+x\): \(\log(1+x)\).
 
constexpr auto eve::log2 = functor<log2_t>
 elementwise_callable object computing the base 2 logarithm: \(\log_2 x\).
 
constexpr auto eve::log_abs = functor<log_abs_t>
 Callable object computing the natural logarithm of the absolute value of the input.
 
constexpr auto eve::logspace_add = functor<logspace_add_t>
 tuple_callable object computing the logspace_add operation: \(\log\left(\sum_{i = 0}^n e^{\log x_i}\right)\)
 
constexpr auto eve::logspace_sub = functor<logspace_sub_t>
 tuple_callable object computing the logspace_sub operation: \(\log\left(e^{\log x_0}-\sum_{i = 1}^n e^{\log x_i}\right)\).