mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Centimeter-Gram-Second (cgs) units-type.
The units are:
#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>(100.0) |
Conversion from SI (m) to cgs (cm) More... | |
static constexpr realT | time = static_cast<realT>(1.0) |
Conversion from SI (s) to cgs (s) More... | |
static constexpr realT | mass = static_cast<realT>(1000.0) |
Conversion from SI (kg) to cgs (g) More... | |
static constexpr realT | energy = static_cast<realT>(1e7) |
Conversion from SI (J) to cgs (erg) More... | |
static constexpr realT | temperature = static_cast<realT>(1.0) |
Conversion from SI (K) to cgs (K) More... | |
typedef _realT mx::astro::units::cgs< _realT >::realT |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |