mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Constants for astronomy. More...
Constants for astronomy.
Definition in file constants.hpp.
Go to the source code of this file.
Namespaces | |
mx | |
The mxlib c++ namespace. | |
Functions | |
template<typename realT > | |
constexpr realT | mx::astro::constants::tan_arcsec () |
Tangent of 1.0 arcsec. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::G () |
Newton's Gravitational Constant. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::c () |
The speed of light. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::k () |
Boltzmann Constant. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::sigma () |
Stefan-Boltzmann Constant. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::h () |
Planck Constant. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::day () |
Length of day. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::year () |
Length of year. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::au () |
Astronomical Unit. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::parsec () |
The parsec. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::radSun () |
Radius of the Sun. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::solarIrrad () |
Solar Irradiance at 1 au. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::lumSun () |
Luminosity of the Sun. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::TeffSun () |
Effective Temperature of the Sun. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::GMSun () |
Solar Mass Parameter. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::massSun () |
Solar Mass. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::radEarth () |
Radius of Earth (nominal equatorial) More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::GMEarth () |
Earth Mass Parameter. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::massEarth () |
Earth Mass. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::radJupiter () |
Radius of Jupiter (nominal equatorial) More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::GMJupiter () |
Jupiter Mass Parameter. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::massJupiter () |
Jupiter Mass. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::mrMercury () |
Mass ratio of Mercury to the Sun. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::massMercury () |
Mass of Mercury. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::radVenus () |
Radius of Mercury. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::mrMars () |
Mass ratio of Mars to the Sun. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::massMars () |
Mass of Mars. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::radSaturn () |
Radius of Mars. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::mrUranus () |
Mass ratio of Uranus to the Sun. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::massUranus () |
Mass of Uranus. More... | |
template<typename units > | |
constexpr units::realT | mx::astro::constants::radNeptune () |
Radius of Uranus. More... | |