numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Definition of log1p function. More...
#include <limits>
#include <type_traits>
#include "num_collect/constants/expm1.h"
#include "num_collect/constants/impl/log1m_maclaurin.h"
#include "num_collect/constants/log.h"
#include "num_collect/constants/one.h"
Go to the source code of this file.
Namespaces | |
namespace | num_collect |
Namespace of num_collect source codes. | |
namespace | num_collect::constants |
Namespace of constexpr variables and functions. | |
Functions | |
template<typename T , typename = std::enable_if_t<std::is_floating_point_v<T>>> | |
constexpr auto | num_collect::constants::log1p (T x) -> T |
Calculate natural logarithm of 1 + x, \( \log(1 + x) \). | |
Definition of log1p function.
Definition in file log1p.h.