Module constants

Module constants 

Source
Expand description

Constants used in the algorithms and kernels.

Some constants are missing in num_traits and/or the standard library. Some are available, but only through num_traits::Float, which is not implemented for certain types. All in all, it was easier to go this way.

Traits§

ConstDoubleSqrt3
2√3
ConstFrac1SqrtTau
1 / √(2π)
ConstOneHalf
0.5
ConstSqrt3
√3
ConstSqrt5
√5
ConstThreeQuarters
0.75