|
MCKL
Monte Carlo Kernel Library
|
Constants. More...
Functions | |
| template<typename T > | |
| constexpr T | mckl::const_e () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(e\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_e_inv () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(1/e\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_inf () |
| Infinity. More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_10 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln(10)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_2 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln(2)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln(3)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_5 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln(5)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_inv_10 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(1/\ln(10)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_inv_2 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(1/\ln(2)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_inv_3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(1/\ln(3)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_inv_5 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(1/\ln(5)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_ln_2 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln(\ln(2))\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_pi () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln(\pi)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_pi_2 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln(2\pi)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_pi_2by3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln((2/3)\pi)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_pi_3by4 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln((3/4)\pi)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_pi_4by3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln((4/3)\pi)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_pi_by2 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln(\pi/2)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_pi_by3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln(\pi/3)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_pi_by4 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln(\pi/4)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_ln_pi_by6 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\ln(\pi/6)\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_nan () |
| Non-signalling NaN. More... | |
| template<typename T > | |
| constexpr T | mckl::const_one () |
| One. More... | |
| template<typename T > | |
| constexpr T | mckl::const_pi () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\pi\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_pi_2 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(2\pi\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_pi_2by3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \((2/3)\pi\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_pi_3by4 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \((3/4)\pi\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_pi_4by3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \((4/3)\pi\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_pi_by2 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\pi/2\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_pi_by3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\pi/3\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_pi_by4 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\pi/4\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_pi_by6 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\pi/6\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_pi_inv () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(1/\pi\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_pi_sqr () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\pi^2\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_10 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{10}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_1by10 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{1/10}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_1by2 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{1/2}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_1by3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{1/3}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_1by5 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{1/5}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_2 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{2}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{3}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_5 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{5}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_e () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{e}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_e_inv () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{1/e}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_pi () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{\pi}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_pi_2 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{2\pi}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_pi_2by3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{(2/3)\pi}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_pi_3by4 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{(3/4)\pi/}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_pi_4by3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{(4/3)\pi}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_pi_by2 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{\pi/2}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_pi_by3 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{\pi/3}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_pi_by4 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{\pi/4}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_pi_by6 () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{\pi/6}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_sqrt_pi_inv () noexcept(std::is_floating_point< T >::value||std::is_integral< T >::value) |
| \(\sqrt{1/\pi}\) More... | |
| template<typename T > | |
| constexpr T | mckl::const_zero () |
| Zero. More... | |
Constants.
|
inlinenoexcept |
\(e\)
Definition at line 243 of file constants.hpp.
|
inlinenoexcept |
\(1/e\)
Definition at line 247 of file constants.hpp.
|
inline |
Infinity.
Definition at line 70 of file constants.hpp.
|
inlinenoexcept |
\(\ln(10)\)
Definition at line 308 of file constants.hpp.
|
inlinenoexcept |
\(\ln(2)\)
Definition at line 296 of file constants.hpp.
|
inlinenoexcept |
\(\ln(3)\)
Definition at line 300 of file constants.hpp.
|
inlinenoexcept |
\(\ln(5)\)
Definition at line 304 of file constants.hpp.
|
inlinenoexcept |
\(1/\ln(10)\)
Definition at line 327 of file constants.hpp.
|
inlinenoexcept |
\(1/\ln(2)\)
Definition at line 312 of file constants.hpp.
|
inlinenoexcept |
\(1/\ln(3)\)
Definition at line 317 of file constants.hpp.
|
inlinenoexcept |
\(1/\ln(5)\)
Definition at line 322 of file constants.hpp.
|
inlinenoexcept |
\(\ln(\ln(2))\)
Definition at line 332 of file constants.hpp.
|
inlinenoexcept |
\(\ln(\pi)\)
Definition at line 200 of file constants.hpp.
|
inlinenoexcept |
\(\ln(2\pi)\)
Definition at line 204 of file constants.hpp.
|
inlinenoexcept |
\(\ln((2/3)\pi)\)
Definition at line 229 of file constants.hpp.
|
inlinenoexcept |
\(\ln((3/4)\pi)\)
Definition at line 234 of file constants.hpp.
|
inlinenoexcept |
\(\ln((4/3)\pi)\)
Definition at line 239 of file constants.hpp.
|
inlinenoexcept |
\(\ln(\pi/2)\)
Definition at line 209 of file constants.hpp.
|
inlinenoexcept |
\(\ln(\pi/3)\)
Definition at line 214 of file constants.hpp.
|
inlinenoexcept |
\(\ln(\pi/4)\)
Definition at line 219 of file constants.hpp.
|
inlinenoexcept |
\(\ln(\pi/6)\)
Definition at line 224 of file constants.hpp.
|
inline |
Non-signalling NaN.
Definition at line 81 of file constants.hpp.
|
inline |
One.
Definition at line 100 of file constants.hpp.
|
inlinenoexcept |
\(\pi\)
Definition at line 107 of file constants.hpp.
|
inlinenoexcept |
\(2\pi\)
Definition at line 111 of file constants.hpp.
|
inlinenoexcept |
\((2/3)\pi\)
Definition at line 139 of file constants.hpp.
|
inlinenoexcept |
\((3/4)\pi\)
Definition at line 143 of file constants.hpp.
|
inlinenoexcept |
\((4/3)\pi\)
Definition at line 147 of file constants.hpp.
|
inlinenoexcept |
\(\pi/2\)
Definition at line 123 of file constants.hpp.
|
inlinenoexcept |
\(\pi/3\)
Definition at line 127 of file constants.hpp.
|
inlinenoexcept |
\(\pi/4\)
Definition at line 131 of file constants.hpp.
|
inlinenoexcept |
\(\pi/6\)
Definition at line 135 of file constants.hpp.
|
inlinenoexcept |
\(1/\pi\)
Definition at line 115 of file constants.hpp.
|
inlinenoexcept |
\(\pi^2\)
Definition at line 119 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{10}\)
Definition at line 272 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{1/10}\)
Definition at line 292 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{1/2}\)
Definition at line 277 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{1/3}\)
Definition at line 282 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{1/5}\)
Definition at line 287 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{2}\)
Definition at line 260 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{3}\)
Definition at line 264 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{5}\)
Definition at line 268 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{e}\)
Definition at line 251 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{1/e}\)
Definition at line 256 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{\pi}\)
Definition at line 151 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{2\pi}\)
Definition at line 156 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{(2/3)\pi}\)
Definition at line 186 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{(3/4)\pi/}\)
Definition at line 191 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{(4/3)\pi}\)
Definition at line 196 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{\pi/2}\)
Definition at line 166 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{\pi/3}\)
Definition at line 171 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{\pi/4}\)
Definition at line 176 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{\pi/6}\)
Definition at line 181 of file constants.hpp.
|
inlinenoexcept |
\(\sqrt{1/\pi}\)
Definition at line 161 of file constants.hpp.
|
inline |
Zero.
Definition at line 92 of file constants.hpp.
1.8.13