Physical constants in different floating point representations.
More...
#include <constants.hpp>
|
| static Scalar | avogadro () |
| | Avogadro's constant . More...
|
| |
| static Scalar | e () |
| | The base of the natural logarithm . More...
|
| |
| static Scalar | k () |
| | Boltzmann's constant . More...
|
| |
| static Scalar | pi () |
| | . More...
|
| |
| static Scalar | R () |
| | The universal gas constant . More...
|
| |
template<typename Scalar, typename = typename std::is_floating_point<Scalar>::type>
struct stator::constant< Scalar, typename >
This overload is for floating point types. The physical constants are taken from the CODATA 2010 recommended values. These are listed here: http://physics.nist.gov/cuu/index.html
- Template Parameters
-
| Scalar | The representation to return the physical constants in. |
Definition at line 40 of file constants.hpp.
◆ avogadro()
template<typename Scalar , typename = typename std::is_floating_point<Scalar>::type>
◆ e()
template<typename Scalar , typename = typename std::is_floating_point<Scalar>::type>
◆ k()
template<typename Scalar , typename = typename std::is_floating_point<Scalar>::type>
◆ pi()
template<typename Scalar , typename = typename std::is_floating_point<Scalar>::type>
◆ R()
template<typename Scalar , typename = typename std::is_floating_point<Scalar>::type>
The documentation for this struct was generated from the following file: