|
| static constexpr scalar_t | avogadro |
| | Avogadro constant.
|
|
static constexpr scalar_t | e {static_cast<scalar_t>(std::numbers::e)} |
| | Euler's number.
|
| static constexpr scalar_t | hbar |
| | Reduced Planck constant h/2*pi.
|
| static constexpr scalar_t | inv_2_pi |
| | 2/π
|
| static constexpr scalar_t | inv_pi |
| | 1/π
|
| static constexpr scalar_t | inv_sqrt2 |
| | 1/(√2)
|
|
static constexpr scalar_t | ln10 {static_cast<scalar_t>(std::numbers::ln10)} |
| | Natural logarithm of 10.
|
|
static constexpr scalar_t | ln2 {static_cast<scalar_t>(std::numbers::ln2)} |
| | Natural logarithm of 2.
|
|
static constexpr scalar_t | log10e {static_cast<scalar_t>(std::numbers::log10e)} |
| | Base 10 logarithm of e.
|
|
static constexpr scalar_t | log2e {static_cast<scalar_t>(std::numbers::log2e)} |
| | Base 2 logarithm of e.
|
| static constexpr scalar_t | m_e |
| | Electron rest energy expressed in the internal energy unit.
|
|
static constexpr scalar_t | pi {static_cast<scalar_t>(std::numbers::pi)} |
| | π
|
|
static constexpr scalar_t | pi_2 {static_cast<scalar_t>(std::numbers::pi / 2.)} |
| | π/2
|
|
static constexpr scalar_t | pi_4 {static_cast<scalar_t>(std::numbers::pi / 4.)} |
| | π/4
|
|
static constexpr scalar_t | sqrt2 {static_cast<scalar_t>(std::numbers::sqrt2)} |
| | √2
|
template<concepts::scalar scalar_t>
struct detray::constant< scalar_t >
Physical and mathematical constants.