boca::units Namespace Reference

Units. More...

Namespaces

 barn
 Barn.
 
 electronvolt
 Electronvolt.
 

Classes

struct  IsQuantity
 
struct  IsQuantity< boost::units::quantity< T > >
 

Typedefs

using Crosssection = boost::units::quantity< barn::Area >
 Crosssection measured in barn. More...
 
using Luminosity = boost::units::quantity< barn::Luminosity >
 Luminosity measured in 1 / barn. More...
 
using Energy = boost::units::quantity< electronvolt::Energy >
 Energy measured in electronvolt. More...
 
using Mass = Energy
 Mass measured in electronvolt. More...
 
using Momentum = Energy
 Momentum measured in electronvolt. More...
 
using EnergySquare = typename boost::units::multiply_typeof_helper< Energy, Energy >::type
 
using MassSquare = typename boost::units::multiply_typeof_helper< Mass, Mass >::type
 
using MomentumSquare = typename boost::units::multiply_typeof_helper< Momentum, Momentum >::type
 
using yocto_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< -24 > > >::type
 
using zepto_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< -21 > > >::type
 
using atto_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< -18 > > >::type
 
using femto_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< -15 > > >::type
 
using pico_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< -12 > > >::type
 
using nano_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< -9 > > >::type
 
using micro_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< -6 > > >::type
 
using milli_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< -3 > > >::type
 
using centi_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< -2 > > >::type
 
using deci_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< -1 > > >::type
 
using deka_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< 1 > > >::type
 
using hecto_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< 2 > > >::type
 
using kilo_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< 3 > > >::type
 
using mega_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< 6 > > >::type
 
using giga_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< 9 > > >::type
 
using tera_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< 12 > > >::type
 
using peta_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< 15 > > >::type
 
using exa_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< 18 > > >::type
 
using zetta_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< 21 > > >::type
 
using yotta_type = boost::units::make_scaled_unit< boost::units::si::dimensionless, boost::units::scale< 10, boost::units::static_rational< 24 > > >::type
 
using Length = boost::units::quantity< boost::units::si::length >
 Length measured in meter. More...
 
using Angle = boost::units::quantity< boost::units::si::plane_angle >
 Angle measured in radian. More...
 
using AngleSquare = typename boost::units::multiply_typeof_helper< Angle, Angle >::type
 
template<typename Value >
using OnlyIfQuantity = typename std::enable_if< IsQuantity< Value >::value >::type
 
template<typename Value >
using OnlyIfNotQuantity = typename std::enable_if< !IsQuantity< Value >::value >::type
 
template<typename Value , typename Value_2 >
using ValueProduct = typename boost::units::multiply_typeof_helper< Value, Value_2 >::type
 
template<typename Value , typename Value_2 >
using ValueQuotient = typename boost::units::divide_typeof_helper< Value, Value_2 >::type
 
template<typename Value >
using ValueInverse = typename boost::units::divide_typeof_helper< double, Value >::type
 
template<typename Value >
using ValueSquare = typename boost::units::multiply_typeof_helper< Value, Value >::type
 
template<typename Value >
using ValueSqrt = typename boost::units::root_typeof_helper< Value, double >::type
 
template<typename Value >
using ValueCubed = typename boost::units::multiply_typeof_helper< ValueSquare< Value >, Value >::type
 
template<typename Value >
using Value4 = typename boost::units::multiply_typeof_helper< ValueSquare< Value >, ValueSquare< Value >>::type
 

Functions

 BOOST_UNITS_STATIC_CONSTANT (Barn, barn::Area)
 
 BOOST_UNITS_STATIC_CONSTANT (Barns, barn::Area)
 
 BOOST_UNITS_STATIC_CONSTANT (ElectronVolt, electronvolt::Energy)
 
 BOOST_UNITS_STATIC_CONSTANT (ElectronVolts, electronvolt::Energy)
 
std::string Name (Energy const &energy)
 
 BOOST_UNITS_STATIC_CONSTANT (yocto, yocto_type)
 
 BOOST_UNITS_STATIC_CONSTANT (zepto, zepto_type)
 
 BOOST_UNITS_STATIC_CONSTANT (atto, atto_type)
 
 BOOST_UNITS_STATIC_CONSTANT (femto, femto_type)
 
 BOOST_UNITS_STATIC_CONSTANT (pico, pico_type)
 
 BOOST_UNITS_STATIC_CONSTANT (nano, nano_type)
 
 BOOST_UNITS_STATIC_CONSTANT (micro, micro_type)
 
 BOOST_UNITS_STATIC_CONSTANT (milli, milli_type)
 
 BOOST_UNITS_STATIC_CONSTANT (centi, centi_type)
 
 BOOST_UNITS_STATIC_CONSTANT (deci, deci_type)
 
 BOOST_UNITS_STATIC_CONSTANT (deka, deka_type)
 
 BOOST_UNITS_STATIC_CONSTANT (hecto, hecto_type)
 
 BOOST_UNITS_STATIC_CONSTANT (kilo, kilo_type)
 
 BOOST_UNITS_STATIC_CONSTANT (mega, mega_type)
 
 BOOST_UNITS_STATIC_CONSTANT (giga, giga_type)
 
 BOOST_UNITS_STATIC_CONSTANT (tera, tera_type)
 
 BOOST_UNITS_STATIC_CONSTANT (peta, peta_type)
 
 BOOST_UNITS_STATIC_CONSTANT (exa, exa_type)
 
 BOOST_UNITS_STATIC_CONSTANT (zetta, zetta_type)
 
 BOOST_UNITS_STATIC_CONSTANT (yotta, yotta_type)
 
boost::units::quantity< boost::units::si::length, double > operator""_Ym (long double x)
 Meter. More...
 
boost::units::quantity< boost::units::si::length, double > operator""_Ym (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Zm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Zm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Em (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Em (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Pm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Pm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Tm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Tm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Gm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Gm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Mm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_Mm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_km (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_km (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_hm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_hm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_dam (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_dam (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_m (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_m (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_dm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_dm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_cm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_cm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_mm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_mm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_um (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_um (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_nm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_nm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_pm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_pm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_fm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_fm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_am (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_am (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_zm (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_zm (unsigned long long x)
 
boost::units::quantity< boost::units::si::length, double > operator""_ym (long double x)
 
boost::units::quantity< boost::units::si::length, double > operator""_ym (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Yrad (long double x)
 Radian. More...
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Yrad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Zrad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Zrad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Erad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Erad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Prad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Prad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Trad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Trad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Grad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Grad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Mrad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_Mrad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_krad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_krad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_hrad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_hrad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_darad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_darad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_rad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_rad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_drad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_drad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_crad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_crad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_mrad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_mrad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_urad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_urad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_nrad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_nrad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_prad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_prad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_frad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_frad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_arad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_arad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_zrad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_zrad (unsigned long long x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_yrad (long double x)
 
boost::units::quantity< boost::units::si::plane_angle, double > operator""_yrad (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_YeV (long double x)
 ElectronVolt. More...
 
boost::units::quantity< electronvolt::Energy, double > operator""_YeV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_ZeV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_ZeV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_EeV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_EeV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_PeV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_PeV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_TeV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_TeV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_GeV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_GeV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_MeV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_MeV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_keV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_keV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_heV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_heV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_daeV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_daeV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_eV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_eV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_deV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_deV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_ceV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_ceV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_meV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_meV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_ueV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_ueV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_neV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_neV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_peV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_peV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_feV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_feV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_aeV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_aeV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_zeV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_zeV (unsigned long long x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_yeV (long double x)
 
boost::units::quantity< electronvolt::Energy, double > operator""_yeV (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_Yb (long double x)
 Barn. More...
 
boost::units::quantity< barn::Area, double > operator""_Yb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_Zb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_Zb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_Eb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_Eb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_Pb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_Pb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_Tb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_Tb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_Gb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_Gb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_Mb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_Mb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_kb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_kb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_hb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_hb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_dab (long double x)
 
boost::units::quantity< barn::Area, double > operator""_dab (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_b (long double x)
 
boost::units::quantity< barn::Area, double > operator""_b (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_db (long double x)
 
boost::units::quantity< barn::Area, double > operator""_db (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_cb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_cb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_mb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_mb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_ub (long double x)
 
boost::units::quantity< barn::Area, double > operator""_ub (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_nb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_nb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_pb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_pb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_fb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_fb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_ab (long double x)
 
boost::units::quantity< barn::Area, double > operator""_ab (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_zb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_zb (unsigned long long x)
 
boost::units::quantity< barn::Area, double > operator""_yb (long double x)
 
boost::units::quantity< barn::Area, double > operator""_yb (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_YU (long double x)
 Uno. More...
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_YU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_ZU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_ZU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_EU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_EU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_PU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_PU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_TU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_TU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_GU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_GU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_MU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_MU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_kU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_kU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_hU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_hU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_daU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_daU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_U (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_U (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_dU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_dU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_cU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_cU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_mU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_mU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_uU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_uU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_nU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_nU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_pU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_pU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_fU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_fU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_aU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_aU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_zU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_zU (unsigned long long x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_yU (long double x)
 
boost::units::quantity< boost::units::si::dimensionless, double > operator""_yU (unsigned long long x)
 
 BOOST_UNITS_STATIC_CONSTANT (meter, boost::units::si::length)
 
 BOOST_UNITS_STATIC_CONSTANT (meters, boost::units::si::length)
 
 BOOST_UNITS_STATIC_CONSTANT (metre, boost::units::si::length)
 
 BOOST_UNITS_STATIC_CONSTANT (metres, boost::units::si::length)
 
 BOOST_UNITS_STATIC_CONSTANT (radian, boost::units::si::plane_angle)
 
 BOOST_UNITS_STATIC_CONSTANT (radians, boost::units::si::plane_angle)
 
constexpr double Pi ()
 Constant \(\pi\). More...
 
constexpr double TwoPi ()
 Constant \(2 \pi\). More...
 
Angle PiRad ()
 Constant \(\pi\) in rad. More...
 
Angle TwoPiRad ()
 Constant \(2 \pi\) in rad. More...
 
Angle Restrict (Angle phi)
 Restrict an angle to the interval \([-\pi,\pi)\). More...
 
Angle Wrap (Angle phi)
 Wrap an angle by \(2 \pi\). More...
 
template<class Y >
boost::units::dimensionless_quantity< boost::units::si::system, Y >::type sinh (const boost::units::quantity< boost::units::si::plane_angle, Y > &theta)
 sinh of theta in radians More...
 
template<class Y >
boost::units::dimensionless_quantity< boost::units::si::system, Y >::type exp (const boost::units::quantity< boost::units::si::plane_angle, Y > &theta)
 exp of theta in radians More...
 
template<class Y >
boost::units::quantity< boost::units::si::plane_angle, Y >::type log (const boost::units::dimensionless_quantity< boost::units::si::system, Y > &number)
 log returning Angle More...
 
template<class Y >
boost::units::quantity< boost::units::si::plane_angle, Y >::type log (const boost::units::dimensionless_quantity< electronvolt::System, Y > &number)
 log returning Angle More...
 
template<class Y , typename = OnlyIfNotQuantity<Y>>
Angle log (Y const &number)
 
template<class Unit , class Y >
boost::units::root_typeof_helper< boost::units::quantity< Unit, Y >, boost::units::static_rational< 3 > >::type cbrt (const boost::units::quantity< Unit, Y > &q)
 
template<class Unit , class Y >
boost::units::quantity< Unit, Y > max BOOST_PREVENT_MACRO_SUBSTITUTION (const boost::units::quantity< Unit, Y > &q1, const boost::units::quantity< Unit, Y > &q2)
 
template<class Unit , class Y >
boost::units::quantity< Unit, Y > min BOOST_PREVENT_MACRO_SUBSTITUTION (const boost::units::quantity< Unit, Y > &q1, const boost::units::quantity< Unit, Y > &q2)
 
template<typename Value >
ValueSqrt< Value > sqrt (Value const &value)
 Square Root. More...
 
template<typename Value >
ValueSqrt< Value > sqrt (Value const &value, std::false_type)
 Square Root. More...
 
template<typename Value >
ValueSqrt< Value > sqrt (Value const &value, std::true_type)
 Square Root. More...
 
template<typename Value >
Angle atan2 (Value const &value_1, Value const &value_2)
 Arctangent2 \(\mathrm{Pr}\ \mathrm{arg}(x+iy) = \mathrm{Arg}(x+iy)\). More...
 
template<typename Value >
Angle atan2 (Value const &value_1, Value const &value_2, std::false_type)
 Arctangent2 \(\mathrm{Pr}\ \mathrm{arg}(x+iy) = \mathrm{Arg}(x+iy)\). More...
 
template<typename Value >
Angle atan2 (Value const &value_1, Value const &value_2, std::true_type)
 Arctangent2 \(\mathrm{Pr}\ \mathrm{arg}(x+iy) = \mathrm{Arg}(x+iy)\). More...
 
template<typename Value >
Angle acos (Value const &value_1)
 Arccosine. More...
 
template<typename Value >
Angle acos (Value const &value_1, std::false_type)
 Arccosine. More...
 
template<typename Value >
Angle acos (Value const &value_1, std::true_type)
 Arccosine. More...
 
template<typename Value >
Value abs (Value const &value)
 Absolute value. More...
 
template<typename Value >
Value abs (Value const &value, std::false_type)
 Absolute value. More...
 
template<typename Value >
Value abs (Value const &value, std::true_type)
 Absolute value. More...
 
template<typename Value >
Value max (Value const &value_1, Value const &value_2)
 Maximal value. More...
 
template<typename Value >
Value max (Value const &value_1, Value const &value_2, std::false_type)
 Maximal value. More...
 
template<typename Value >
Value max (Value const &value_1, Value const &value_2, std::true_type)
 Maximal value. More...
 

Variables

Momentum const at_rest = 0. * ElectronVolt
 
Mass const massless = 0. * ElectronVolt
 

Detailed Description

Units.

Units and functions to handle dimensionfull quantities

Typedef Documentation

using boca::units::Angle = typedef boost::units::quantity<boost::units::si::plane_angle>

Angle measured in radian.

using boca::units::AngleSquare = typedef typename boost::units::multiply_typeof_helper<Angle, Angle>::type
using boca::units::atto_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< -18 > > >::type
using boca::units::centi_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< -2 > > >::type
using boca::units::Crosssection = typedef boost::units::quantity<barn::Area>

Crosssection measured in barn.

using boca::units::deci_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< -1 > > >::type
using boca::units::deka_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< 1 > > >::type
using boca::units::Energy = typedef boost::units::quantity<electronvolt::Energy>

Energy measured in electronvolt.

using boca::units::EnergySquare = typedef typename boost::units::multiply_typeof_helper<Energy, Energy>::type
using boca::units::exa_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< 18 > > >::type
using boca::units::femto_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< -15 > > >::type
using boca::units::giga_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< 9 > > >::type
using boca::units::hecto_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< 2 > > >::type
using boca::units::kilo_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< 3 > > >::type
using boca::units::Length = typedef boost::units::quantity<boost::units::si::length>

Length measured in meter.

using boca::units::Luminosity = typedef boost::units::quantity<barn::Luminosity>

Luminosity measured in 1 / barn.

using boca::units::Mass = typedef Energy

Mass measured in electronvolt.

using boca::units::MassSquare = typedef typename boost::units::multiply_typeof_helper<Mass, Mass>::type
using boca::units::mega_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< 6 > > >::type
using boca::units::micro_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< -6 > > >::type
using boca::units::milli_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< -3 > > >::type
using boca::units::Momentum = typedef Energy

Momentum measured in electronvolt.

Examples:
simple/source/MainSimple.cpp.
using boca::units::MomentumSquare = typedef typename boost::units::multiply_typeof_helper<Momentum, Momentum>::type
using boca::units::nano_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< -9 > > >::type
template<typename Value >
using boca::units::OnlyIfNotQuantity = typedef typename std::enable_if < !IsQuantity<Value>::value >::type
template<typename Value >
using boca::units::OnlyIfQuantity = typedef typename std::enable_if <IsQuantity<Value>::value >::type
using boca::units::peta_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< 15 > > >::type
using boca::units::pico_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< -12 > > >::type
using boca::units::tera_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< 12 > > >::type
template<typename Value >
using boca::units::Value4 = typedef typename boost::units::multiply_typeof_helper<ValueSquare<Value>, ValueSquare<Value>>::type
template<typename Value >
using boca::units::ValueCubed = typedef typename boost::units::multiply_typeof_helper<ValueSquare<Value>, Value>::type
template<typename Value >
using boca::units::ValueInverse = typedef typename boost::units::divide_typeof_helper<double, Value>::type
template<typename Value , typename Value_2 >
using boca::units::ValueProduct = typedef typename boost::units::multiply_typeof_helper<Value, Value_2>::type
template<typename Value , typename Value_2 >
using boca::units::ValueQuotient = typedef typename boost::units::divide_typeof_helper<Value, Value_2>::type
template<typename Value >
using boca::units::ValueSqrt = typedef typename boost::units::root_typeof_helper<Value, double>::type
template<typename Value >
using boca::units::ValueSquare = typedef typename boost::units::multiply_typeof_helper<Value, Value>::type
using boca::units::yocto_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< -24 > > >::type
using boca::units::yotta_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< 24 > > >::type
using boca::units::zepto_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< -21 > > >::type
using boca::units::zetta_type = typedef boost::units::make_scaled_unit<boost::units::si::dimensionless, boost::units::scale<10, boost::units::static_rational< 21 > > >::type

Function Documentation

template<typename Value >
Value boca::units::abs ( Value const &  value)

Absolute value.

template<typename Value >
Value boca::units::abs ( Value const &  value,
std::false_type   
)

Absolute value.

template<typename Value >
Value boca::units::abs ( Value const &  value,
std::true_type   
)

Absolute value.

template<typename Value >
Angle boca::units::acos ( Value const &  value_1)

Arccosine.

template<typename Value >
Angle boca::units::acos ( Value const &  value_1,
std::false_type   
)

Arccosine.

template<typename Value >
Angle boca::units::acos ( Value const &  value_1,
std::true_type   
)

Arccosine.

template<typename Value >
Angle boca::units::atan2 ( Value const &  value_1,
Value const &  value_2 
)

Arctangent2 \(\mathrm{Pr}\ \mathrm{arg}(x+iy) = \mathrm{Arg}(x+iy)\).

template<typename Value >
Angle boca::units::atan2 ( Value const &  value_1,
Value const &  value_2,
std::false_type   
)

Arctangent2 \(\mathrm{Pr}\ \mathrm{arg}(x+iy) = \mathrm{Arg}(x+iy)\).

template<typename Value >
Angle boca::units::atan2 ( Value const &  value_1,
Value const &  value_2,
std::true_type   
)

Arctangent2 \(\mathrm{Pr}\ \mathrm{arg}(x+iy) = \mathrm{Arg}(x+iy)\).

template<class Unit , class Y >
boost::units::quantity<Unit, Y> max boca::units::BOOST_PREVENT_MACRO_SUBSTITUTION ( const boost::units::quantity< Unit, Y > &  q1,
const boost::units::quantity< Unit, Y > &  q2 
)
inline
template<class Unit , class Y >
boost::units::quantity<Unit, Y> min boca::units::BOOST_PREVENT_MACRO_SUBSTITUTION ( const boost::units::quantity< Unit, Y > &  q1,
const boost::units::quantity< Unit, Y > &  q2 
)
inline
boca::units::BOOST_UNITS_STATIC_CONSTANT ( meter  ,
boost::units::si::length   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( yocto  ,
yocto_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( meters  ,
boost::units::si::length   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( metre  ,
boost::units::si::length   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( zepto  ,
zepto_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( atto  ,
atto_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( metres  ,
boost::units::si::length   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( Barn  ,
barn::Area   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( Barns  ,
barn::Area   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( femto  ,
femto_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( pico  ,
pico_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( nano  ,
nano_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( micro  ,
micro_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( milli  ,
milli_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( centi  ,
centi_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( deci  ,
deci_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( deka  ,
deka_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( hecto  ,
hecto_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( kilo  ,
kilo_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( radian  ,
boost::units::si::plane_angle   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( mega  ,
mega_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( giga  ,
giga_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( radians  ,
boost::units::si::plane_angle   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( tera  ,
tera_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( peta  ,
peta_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( exa  ,
exa_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( zetta  ,
zetta_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( yotta  ,
yotta_type   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( ElectronVolt  ,
electronvolt::Energy   
)
boca::units::BOOST_UNITS_STATIC_CONSTANT ( ElectronVolts  ,
electronvolt::Energy   
)
template<class Unit , class Y >
boost::units::root_typeof_helper<boost::units::quantity<Unit, Y>, boost::units::static_rational<3> >::type boca::units::cbrt ( const boost::units::quantity< Unit, Y > &  q)
inline
template<class Y >
boost::units::dimensionless_quantity<boost::units::si::system, Y>::type boca::units::exp ( const boost::units::quantity< boost::units::si::plane_angle, Y > &  theta)

exp of theta in radians

template<class Y >
boost::units::quantity<boost::units::si::plane_angle, Y>::type boca::units::log ( const boost::units::dimensionless_quantity< boost::units::si::system, Y > &  number)

log returning Angle

template<class Y >
boost::units::quantity<boost::units::si::plane_angle, Y>::type boca::units::log ( const boost::units::dimensionless_quantity< electronvolt::System, Y > &  number)

log returning Angle

template<class Y , typename = OnlyIfNotQuantity<Y>>
Angle boca::units::log ( Y const &  number)
inline
template<typename Value >
Value boca::units::max ( Value const &  value_1,
Value const &  value_2 
)

Maximal value.

template<typename Value >
Value boca::units::max ( Value const &  value_1,
Value const &  value_2,
std::false_type   
)

Maximal value.

template<typename Value >
Value boca::units::max ( Value const &  value_1,
Value const &  value_2,
std::true_type   
)

Maximal value.

std::string boca::units::Name ( Energy const &  energy)
boost::units::quantity< barn::Area , double> boca::units::operator""_ab ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_ab ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_aeV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_aeV ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_am ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_am ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_arad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_arad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_aU ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_aU ( long double  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_b ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_b ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_cb ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_cb ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_ceV ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_ceV ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_cm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_cm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_crad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_crad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_cU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_cU ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_dab ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_dab ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_daeV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_daeV ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_dam ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_dam ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_darad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_darad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_daU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_daU ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_db ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_db ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_deV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_deV ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_dm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_dm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_drad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_drad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_dU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_dU ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_Eb ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_Eb ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_EeV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_EeV ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_Em ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_Em ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_Erad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_Erad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_EU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_EU ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_eV ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_eV ( long double  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_fb ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_fb ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_feV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_feV ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_fm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_fm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_frad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_frad ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_fU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_fU ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_Gb ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_Gb ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_GeV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_GeV ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_Gm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_Gm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_Grad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_Grad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_GU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_GU ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_hb ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_hb ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_heV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_heV ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_hm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_hm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_hrad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_hrad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_hU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_hU ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_kb ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_kb ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_keV ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_keV ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_km ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_km ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_krad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_krad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_kU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_kU ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_m ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_m ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_mb ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_Mb ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_Mb ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_mb ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_MeV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_MeV ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_meV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_meV ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_mm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_Mm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_Mm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_mm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_mrad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_mrad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_Mrad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_Mrad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_MU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_MU ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_mU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_mU ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_nb ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_nb ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_neV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_neV ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_nm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_nm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_nrad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_nrad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_nU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_nU ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_pb ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_pb ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_Pb ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_Pb ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_PeV ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_peV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_peV ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_PeV ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_Pm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_pm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_Pm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_pm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_prad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_prad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_Prad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_Prad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_PU ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_pU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_PU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_pU ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_rad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_rad ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_Tb ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_Tb ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_TeV ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_TeV ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_Tm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_Tm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_Trad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_Trad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_TU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_TU ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_U ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_U ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_ub ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_ub ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_ueV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_ueV ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_um ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_um ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_urad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_urad ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_uU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_uU ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_yb ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_yb ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_Yb ( long double  x)
inline

Barn.

Unit of Area

boost::units::quantity< barn::Area , double > boca::units::operator""_Yb ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_yeV ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_YeV ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_yeV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_YeV ( long double  x)
inline

ElectronVolt.

Unit of Energy

boost::units::quantity< boost::units::si::length , double > boca::units::operator""_ym ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_Ym ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_ym ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_Ym ( long double  x)
inline

Meter.

Unit of length

boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_yrad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_Yrad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_yrad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_Yrad ( long double  x)
inline

Radian.

Unit of angular measure

boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_yU ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_YU ( long double  x)
inline

Uno.

dimensionless unit e.g. \(1 \% = 1 cU\), or \(1 ppm = 1 uU\)

boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_YU ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_yU ( long double  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_Zb ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double > boca::units::operator""_zb ( unsigned long long  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_zb ( long double  x)
inline
boost::units::quantity< barn::Area , double> boca::units::operator""_Zb ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_ZeV ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_ZeV ( long double  x)
inline
boost::units::quantity< electronvolt::Energy , double > boca::units::operator""_zeV ( unsigned long long  x)
inline
boost::units::quantity< electronvolt::Energy , double> boca::units::operator""_zeV ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_Zm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_Zm ( long double  x)
inline
boost::units::quantity< boost::units::si::length , double > boca::units::operator""_zm ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::length , double> boca::units::operator""_zm ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_Zrad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_Zrad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double> boca::units::operator""_zrad ( long double  x)
inline
boost::units::quantity< boost::units::si::plane_angle , double > boca::units::operator""_zrad ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_ZU ( long double  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_zU ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double > boca::units::operator""_ZU ( unsigned long long  x)
inline
boost::units::quantity< boost::units::si::dimensionless , double> boca::units::operator""_zU ( long double  x)
inline
constexpr double boca::units::Pi ( )

Constant \(\pi\).

Angle boca::units::PiRad ( )

Constant \(\pi\) in rad.

Angle boca::units::Restrict ( Angle  phi)

Restrict an angle to the interval \([-\pi,\pi)\).

template<class Y >
boost::units::dimensionless_quantity<boost::units::si::system, Y>::type boca::units::sinh ( const boost::units::quantity< boost::units::si::plane_angle, Y > &  theta)

sinh of theta in radians

template<typename Value >
ValueSqrt<Value> boca::units::sqrt ( Value const &  value)

Square Root.

template<typename Value >
ValueSqrt<Value> boca::units::sqrt ( Value const &  value,
std::false_type   
)

Square Root.

template<typename Value >
ValueSqrt<Value> boca::units::sqrt ( Value const &  value,
std::true_type   
)

Square Root.

constexpr double boca::units::TwoPi ( )

Constant \(2 \pi\).

Angle boca::units::TwoPiRad ( )

Constant \(2 \pi\) in rad.

Angle boca::units::Wrap ( Angle  phi)

Wrap an angle by \(2 \pi\).

Variable Documentation

Momentum const boca::units::at_rest = 0. * ElectronVolt
Mass const boca::units::massless = 0. * ElectronVolt