mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
constants.hpp File Reference

Constants for astronomy. More...

Constants for astronomy.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file constants.hpp.

Go to the source code of this file.

Namespaces

namespace  mx
 The mxlib c++ namespace.
 

Functions

template<typename realT >
constexpr realT mx::astro::constants::tan_arcsec ()
 Tangent of 1.0 arcsec.
 
template<typename units >
constexpr units::realT mx::astro::constants::G ()
 Newton's Gravitational Constant.
 
template<typename units >
constexpr units::realT mx::astro::constants::c ()
 The speed of light.
 
template<typename units >
constexpr units::realT mx::astro::constants::k ()
 Boltzmann Constant.
 
template<typename units >
constexpr units::realT mx::astro::constants::sigma ()
 Stefan-Boltzmann Constant.
 
template<typename units >
constexpr units::realT mx::astro::constants::h ()
 Planck Constant.
 
template<typename units >
constexpr units::realT mx::astro::constants::day ()
 Length of day.
 
template<typename units >
constexpr units::realT mx::astro::constants::year ()
 Length of year.
 
template<typename units >
constexpr units::realT mx::astro::constants::au ()
 Astronomical Unit.
 
template<typename units >
constexpr units::realT mx::astro::constants::parsec ()
 The parsec.
 
template<typename units >
constexpr units::realT mx::astro::constants::radSun ()
 Radius of the Sun.
 
template<typename units >
constexpr units::realT mx::astro::constants::solarIrrad ()
 Solar Irradiance at 1 au.
 
template<typename units >
constexpr units::realT mx::astro::constants::lumSun ()
 Luminosity of the Sun.
 
template<typename units >
constexpr units::realT mx::astro::constants::TeffSun ()
 Effective Temperature of the Sun.
 
template<typename units >
constexpr units::realT mx::astro::constants::GMSun ()
 Solar Mass Parameter.
 
template<typename units >
constexpr units::realT mx::astro::constants::massSun ()
 Solar Mass.
 
template<typename units >
constexpr units::realT mx::astro::constants::radEarth ()
 Radius of Earth (nominal equatorial)
 
template<typename units >
constexpr units::realT mx::astro::constants::GMEarth ()
 Earth Mass Parameter.
 
template<typename units >
constexpr units::realT mx::astro::constants::massEarth ()
 Earth Mass.
 
template<typename units >
constexpr units::realT mx::astro::constants::radJupiter ()
 Radius of Jupiter (nominal equatorial)
 
template<typename units >
constexpr units::realT mx::astro::constants::GMJupiter ()
 Jupiter Mass Parameter.
 
template<typename units >
constexpr units::realT mx::astro::constants::massJupiter ()
 Jupiter Mass.
 
template<typename units >
constexpr units::realT mx::astro::constants::mrMercury ()
 Mass ratio of Mercury to the Sun.
 
template<typename units >
constexpr units::realT mx::astro::constants::massMercury ()
 Mass of Mercury.
 
template<typename units >
constexpr units::realT mx::astro::constants::radVenus ()
 Radius of Mercury.
 
template<typename units >
constexpr units::realT mx::astro::constants::mrMars ()
 Mass ratio of Mars to the Sun.
 
template<typename units >
constexpr units::realT mx::astro::constants::massMars ()
 Mass of Mars.
 
template<typename units >
constexpr units::realT mx::astro::constants::radSaturn ()
 Radius of Mars.
 
template<typename units >
constexpr units::realT mx::astro::constants::mrUranus ()
 Mass ratio of Uranus to the Sun.
 
template<typename units >
constexpr units::realT mx::astro::constants::massUranus ()
 Mass of Uranus.
 
template<typename units >
constexpr units::realT mx::astro::constants::radNeptune ()
 Radius of Uranus.