mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
International System of Units (SI) units-type.
Since all constants are specified in SI units, all conversions here are 1.0.
#include <astro/units.hpp>
Public Types | |
typedef _realT | realT |
The real floating point type in which to specify constants. More... | |
Static Public Attributes | |
static constexpr realT | length = static_cast<realT>(1.0) |
Conversion from SI (m) to SI (m) More... | |
static constexpr realT | time = static_cast<realT>(1.0) |
Conversion from SI (s) to SI (s) More... | |
static constexpr realT | mass = static_cast<realT>(1.0) |
Conversion from SI (kg) to SI (kg) More... | |
static constexpr realT | energy = static_cast<realT>(1.0) |
Conversion from SI (J) to SI (J) More... | |
static constexpr realT | temperature = static_cast<realT>(1.0) |
Conversion from SI (K) to SI (K) More... | |
typedef _realT mx::astro::units::si< _realT >::realT |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |