vSMC
vSMC: Scalable Monte Carlo
Functions
Constants

Mathematical constants. More...

Functions

template<typename T >
vsmc::math::e ()
 \(e\) More...
 
template<typename T >
vsmc::math::e_inv ()
 \(1/e\) More...
 
template<typename T >
vsmc::math::ln_10 ()
 \(\ln(10)\) More...
 
template<typename T >
vsmc::math::ln_2 ()
 \(\ln(2)\) More...
 
template<typename T >
vsmc::math::ln_3 ()
 \(\ln(3)\) More...
 
template<typename T >
vsmc::math::ln_5 ()
 \(\ln(5)\) More...
 
template<typename T >
vsmc::math::ln_inv_10 ()
 \(1/\ln(10)\) More...
 
template<typename T >
vsmc::math::ln_inv_2 ()
 \(1/\ln(2)\) More...
 
template<typename T >
vsmc::math::ln_inv_3 ()
 \(1/\ln(3)\) More...
 
template<typename T >
vsmc::math::ln_inv_5 ()
 \(1/\ln(5)\) More...
 
template<typename T >
vsmc::math::ln_ln_2 ()
 \(\ln(\ln(2))\) More...
 
template<typename T >
vsmc::math::ln_pi ()
 \(\ln(\pi)\) More...
 
template<typename T >
vsmc::math::ln_pi_2 ()
 \(\ln(2\pi)\) More...
 
template<typename T >
vsmc::math::ln_pi_2by3 ()
 \(\ln((2/3)\pi)\) More...
 
template<typename T >
vsmc::math::ln_pi_3by4 ()
 \(\ln((3/4)\pi)\) More...
 
template<typename T >
vsmc::math::ln_pi_4by3 ()
 \(\ln((4/3)\pi)\) More...
 
template<typename T >
vsmc::math::ln_pi_by2 ()
 \(\ln(\pi/2)\) More...
 
template<typename T >
vsmc::math::ln_pi_by3 ()
 \(\ln(\pi/3)\) More...
 
template<typename T >
vsmc::math::ln_pi_by4 ()
 \(\ln(\pi/4)\) More...
 
template<typename T >
vsmc::math::ln_pi_by6 ()
 \(\ln(\pi/6)\) More...
 
template<typename T >
vsmc::math::pi ()
 \(\pi\) More...
 
template<typename T >
vsmc::math::pi_2 ()
 \(2\pi\) More...
 
template<typename T >
vsmc::math::pi_2by3 ()
 \((2/3)\pi\) More...
 
template<typename T >
vsmc::math::pi_3by4 ()
 \((3/4)\pi\) More...
 
template<typename T >
vsmc::math::pi_4by3 ()
 \((4/3)\pi\) More...
 
template<typename T >
vsmc::math::pi_by2 ()
 \(\pi/2\) More...
 
template<typename T >
vsmc::math::pi_by3 ()
 \(\pi/3\) More...
 
template<typename T >
vsmc::math::pi_by4 ()
 \(\pi/4\) More...
 
template<typename T >
vsmc::math::pi_by6 ()
 \(\pi/6\) More...
 
template<typename T >
vsmc::math::pi_inv ()
 \(1/\pi\) More...
 
template<typename T >
vsmc::math::pi_sqr ()
 \(\pi^2\) More...
 
template<typename T >
vsmc::math::sqrt_10 ()
 \(\sqrt{10}\) More...
 
template<typename T >
vsmc::math::sqrt_1by10 ()
 \(\sqrt{1/10}\) More...
 
template<typename T >
vsmc::math::sqrt_1by2 ()
 \(\sqrt{1/2}\) More...
 
template<typename T >
vsmc::math::sqrt_1by3 ()
 \(\sqrt{1/3}\) More...
 
template<typename T >
vsmc::math::sqrt_1by5 ()
 \(\sqrt{1/5}\) More...
 
template<typename T >
vsmc::math::sqrt_2 ()
 \(\sqrt{2}\) More...
 
template<typename T >
vsmc::math::sqrt_3 ()
 \(\sqrt{3}\) More...
 
template<typename T >
vsmc::math::sqrt_5 ()
 \(\sqrt{5}\) More...
 
template<typename T >
vsmc::math::sqrt_e ()
 \(\sqrt{e}\) More...
 
template<typename T >
vsmc::math::sqrt_e_inv ()
 \(\sqrt{1/e}\) More...
 
template<typename T >
vsmc::math::sqrt_pi ()
 \(\sqrt{\pi}\) More...
 
template<typename T >
vsmc::math::sqrt_pi_2 ()
 \(\sqrt{2\pi}\) More...
 
template<typename T >
vsmc::math::sqrt_pi_2by3 ()
 \(\sqrt{(2/3)\pi}\) More...
 
template<typename T >
vsmc::math::sqrt_pi_3by4 ()
 \(\sqrt{(3/4)\pi/}\) More...
 
template<typename T >
vsmc::math::sqrt_pi_4by3 ()
 \(\sqrt{(4/3)\pi}\) More...
 
template<typename T >
vsmc::math::sqrt_pi_by2 ()
 \(\sqrt{\pi/2}\) More...
 
template<typename T >
vsmc::math::sqrt_pi_by3 ()
 \(\sqrt{\pi/3}\) More...
 
template<typename T >
vsmc::math::sqrt_pi_by4 ()
 \(\sqrt{\pi/4}\) More...
 
template<typename T >
vsmc::math::sqrt_pi_by6 ()
 \(\sqrt{\pi/6}\) More...
 
template<typename T >
vsmc::math::sqrt_pi_inv ()
 \(\sqrt{1/\pi}\) More...
 

Detailed Description

Mathematical constants.

Function Documentation

template<typename T >
T vsmc::math::e ( )
inline

\(e\)

Definition at line 198 of file constants.hpp.

template<typename T >
T vsmc::math::e_inv ( )
inline

\(1/e\)

Definition at line 203 of file constants.hpp.

template<typename T >
T vsmc::math::ln_10 ( )
inline

\(\ln(10)\)

Definition at line 273 of file constants.hpp.

template<typename T >
T vsmc::math::ln_2 ( )
inline

\(\ln(2)\)

Definition at line 258 of file constants.hpp.

template<typename T >
T vsmc::math::ln_3 ( )
inline

\(\ln(3)\)

Definition at line 263 of file constants.hpp.

template<typename T >
T vsmc::math::ln_5 ( )
inline

\(\ln(5)\)

Definition at line 268 of file constants.hpp.

template<typename T >
T vsmc::math::ln_inv_10 ( )
inline

\(1/\ln(10)\)

Definition at line 293 of file constants.hpp.

template<typename T >
T vsmc::math::ln_inv_2 ( )
inline

\(1/\ln(2)\)

Definition at line 278 of file constants.hpp.

template<typename T >
T vsmc::math::ln_inv_3 ( )
inline

\(1/\ln(3)\)

Definition at line 283 of file constants.hpp.

template<typename T >
T vsmc::math::ln_inv_5 ( )
inline

\(1/\ln(5)\)

Definition at line 288 of file constants.hpp.

template<typename T >
T vsmc::math::ln_ln_2 ( )
inline

\(\ln(\ln(2))\)

Definition at line 298 of file constants.hpp.

template<typename T >
T vsmc::math::ln_pi ( )
inline

\(\ln(\pi)\)

Definition at line 153 of file constants.hpp.

template<typename T >
T vsmc::math::ln_pi_2 ( )
inline

\(\ln(2\pi)\)

Definition at line 158 of file constants.hpp.

template<typename T >
T vsmc::math::ln_pi_2by3 ( )
inline

\(\ln((2/3)\pi)\)

Definition at line 183 of file constants.hpp.

template<typename T >
T vsmc::math::ln_pi_3by4 ( )
inline

\(\ln((3/4)\pi)\)

Definition at line 188 of file constants.hpp.

template<typename T >
T vsmc::math::ln_pi_4by3 ( )
inline

\(\ln((4/3)\pi)\)

Definition at line 193 of file constants.hpp.

template<typename T >
T vsmc::math::ln_pi_by2 ( )
inline

\(\ln(\pi/2)\)

Definition at line 163 of file constants.hpp.

template<typename T >
T vsmc::math::ln_pi_by3 ( )
inline

\(\ln(\pi/3)\)

Definition at line 168 of file constants.hpp.

template<typename T >
T vsmc::math::ln_pi_by4 ( )
inline

\(\ln(\pi/4)\)

Definition at line 173 of file constants.hpp.

template<typename T >
T vsmc::math::ln_pi_by6 ( )
inline

\(\ln(\pi/6)\)

Definition at line 178 of file constants.hpp.

template<typename T >
T vsmc::math::pi ( )
inline

\(\pi\)

Definition at line 48 of file constants.hpp.

template<typename T >
T vsmc::math::pi_2 ( )
inline

\(2\pi\)

Definition at line 53 of file constants.hpp.

template<typename T >
T vsmc::math::pi_2by3 ( )
inline

\((2/3)\pi\)

Definition at line 88 of file constants.hpp.

template<typename T >
T vsmc::math::pi_3by4 ( )
inline

\((3/4)\pi\)

Definition at line 93 of file constants.hpp.

template<typename T >
T vsmc::math::pi_4by3 ( )
inline

\((4/3)\pi\)

Definition at line 98 of file constants.hpp.

template<typename T >
T vsmc::math::pi_by2 ( )
inline

\(\pi/2\)

Definition at line 68 of file constants.hpp.

template<typename T >
T vsmc::math::pi_by3 ( )
inline

\(\pi/3\)

Definition at line 73 of file constants.hpp.

template<typename T >
T vsmc::math::pi_by4 ( )
inline

\(\pi/4\)

Definition at line 78 of file constants.hpp.

template<typename T >
T vsmc::math::pi_by6 ( )
inline

\(\pi/6\)

Definition at line 83 of file constants.hpp.

template<typename T >
T vsmc::math::pi_inv ( )
inline

\(1/\pi\)

Definition at line 58 of file constants.hpp.

template<typename T >
T vsmc::math::pi_sqr ( )
inline

\(\pi^2\)

Definition at line 63 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_10 ( )
inline

\(\sqrt{10}\)

Definition at line 233 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_1by10 ( )
inline

\(\sqrt{1/10}\)

Definition at line 253 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_1by2 ( )
inline

\(\sqrt{1/2}\)

Definition at line 238 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_1by3 ( )
inline

\(\sqrt{1/3}\)

Definition at line 243 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_1by5 ( )
inline

\(\sqrt{1/5}\)

Definition at line 248 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_2 ( )
inline

\(\sqrt{2}\)

Definition at line 218 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_3 ( )
inline

\(\sqrt{3}\)

Definition at line 223 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_5 ( )
inline

\(\sqrt{5}\)

Definition at line 228 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_e ( )
inline

\(\sqrt{e}\)

Definition at line 208 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_e_inv ( )
inline

\(\sqrt{1/e}\)

Definition at line 213 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_pi ( )
inline

\(\sqrt{\pi}\)

Definition at line 103 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_pi_2 ( )
inline

\(\sqrt{2\pi}\)

Definition at line 108 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_pi_2by3 ( )
inline

\(\sqrt{(2/3)\pi}\)

Definition at line 138 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_pi_3by4 ( )
inline

\(\sqrt{(3/4)\pi/}\)

Definition at line 143 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_pi_4by3 ( )
inline

\(\sqrt{(4/3)\pi}\)

Definition at line 148 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_pi_by2 ( )
inline

\(\sqrt{\pi/2}\)

Definition at line 118 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_pi_by3 ( )
inline

\(\sqrt{\pi/3}\)

Definition at line 123 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_pi_by4 ( )
inline

\(\sqrt{\pi/4}\)

Definition at line 128 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_pi_by6 ( )
inline

\(\sqrt{\pi/6}\)

Definition at line 133 of file constants.hpp.

template<typename T >
T vsmc::math::sqrt_pi_inv ( )
inline

\(\sqrt{1/\pi}\)

Definition at line 113 of file constants.hpp.