qtty-cpp 0.4.5
Header-only C++ wrapper for qtty
Loading...
Searching...
No Matches
qtty Namespace Reference

Namespaces

namespace  detail
namespace  literals
namespace  satellite
namespace  serialization
namespace  derived_serialization

Classes

struct  AngularTraits
class  QttyException
 Base exception for all qtty wrapper failures. More...
class  InvalidUnitError
 Raised when an unknown or invalid unit identifier is used. More...
class  IncompatibleDimensionsError
 Raised when mixing incompatible dimensions in conversion/arithmetic. More...
class  NullPointerError
 Raised when a required output pointer was null. More...
class  ConversionError
 Raised when value conversion fails at the FFI boundary. More...
class  Quantity
struct  CompoundTag
struct  is_compound
struct  is_compound< CompoundTag< N, D > >
struct  UnitTraits
struct  has_dimension
struct  has_dimension< Tag, std::void_t< decltype(UnitTraits< Tag >::dimension())> >
struct  ExtractTag
struct  ExtractTag< Quantity< Tag > >
struct  MeterPerSecondSquaredTag
struct  StandardGravityTag
struct  UnitTraits< MeterPerSecondSquaredTag >
struct  UnitTraits< StandardGravityTag >
struct  MoleTag
struct  NanomoleTag
struct  MicromoleTag
struct  MillimoleTag
struct  KilomoleTag
struct  UnitTraits< MoleTag >
struct  UnitTraits< NanomoleTag >
struct  UnitTraits< MicromoleTag >
struct  UnitTraits< MillimoleTag >
struct  UnitTraits< KilomoleTag >
struct  MilliradianTag
struct  RadianTag
struct  MicroArcsecondTag
struct  MilliArcsecondTag
struct  ArcsecondTag
struct  ArcminuteTag
struct  DegreeTag
struct  GradianTag
struct  TurnTag
struct  HourAngleTag
struct  UnitTraits< MilliradianTag >
struct  UnitTraits< RadianTag >
struct  UnitTraits< MicroArcsecondTag >
struct  UnitTraits< MilliArcsecondTag >
struct  UnitTraits< ArcsecondTag >
struct  UnitTraits< ArcminuteTag >
struct  UnitTraits< DegreeTag >
struct  UnitTraits< GradianTag >
struct  UnitTraits< TurnTag >
struct  UnitTraits< HourAngleTag >
struct  SquareMeterTag
struct  SquareKilometerTag
struct  SquareCentimeterTag
struct  SquareMillimeterTag
struct  HectareTag
struct  AreTag
struct  SquareInchTag
struct  SquareFootTag
struct  SquareYardTag
struct  SquareMileTag
struct  AcreTag
struct  UnitTraits< SquareMeterTag >
struct  UnitTraits< SquareKilometerTag >
struct  UnitTraits< SquareCentimeterTag >
struct  UnitTraits< SquareMillimeterTag >
struct  UnitTraits< HectareTag >
struct  UnitTraits< AreTag >
struct  UnitTraits< SquareInchTag >
struct  UnitTraits< SquareFootTag >
struct  UnitTraits< SquareYardTag >
struct  UnitTraits< SquareMileTag >
struct  UnitTraits< AcreTag >
struct  FaradTag
struct  PicofaradTag
struct  NanofaradTag
struct  MicrofaradTag
struct  MillifaradTag
struct  UnitTraits< FaradTag >
struct  UnitTraits< PicofaradTag >
struct  UnitTraits< NanofaradTag >
struct  UnitTraits< MicrofaradTag >
struct  UnitTraits< MillifaradTag >
struct  CoulombTag
struct  MillicoulombTag
struct  MicrocoulombTag
struct  KilocoulombTag
struct  UnitTraits< CoulombTag >
struct  UnitTraits< MillicoulombTag >
struct  UnitTraits< MicrocoulombTag >
struct  UnitTraits< KilocoulombTag >
struct  AmpereTag
struct  MicroampereTag
struct  MilliampereTag
struct  KiloampereTag
struct  UnitTraits< AmpereTag >
struct  UnitTraits< MicroampereTag >
struct  UnitTraits< MilliampereTag >
struct  UnitTraits< KiloampereTag >
struct  KilogramPerCubicMeterTag
struct  GramPerCubicCentimeterTag
struct  GramPerMilliliterTag
struct  PoundPerCubicFootTag
struct  UnitTraits< KilogramPerCubicMeterTag >
struct  UnitTraits< GramPerCubicCentimeterTag >
struct  UnitTraits< GramPerMilliliterTag >
struct  UnitTraits< PoundPerCubicFootTag >
struct  OpticalDepthTag
struct  AirmassTag
struct  TransmittanceTag
struct  AlbedoTag
struct  IlluminationFractionTag
struct  RefractivityTag
struct  RatioTag
struct  UnitTraits< OpticalDepthTag >
struct  UnitTraits< AirmassTag >
struct  UnitTraits< TransmittanceTag >
struct  UnitTraits< AlbedoTag >
struct  UnitTraits< IlluminationFractionTag >
struct  UnitTraits< RefractivityTag >
struct  UnitTraits< RatioTag >
struct  JouleTag
struct  PicojouleTag
struct  NanojouleTag
struct  MicrojouleTag
struct  MillijouleTag
struct  KilojouleTag
struct  MegajouleTag
struct  GigajouleTag
struct  TerajouleTag
struct  WattHourTag
struct  KilowattHourTag
struct  ErgTag
struct  ElectronvoltTag
struct  KiloelectronvoltTag
struct  MegaelectronvoltTag
struct  CalorieTag
struct  KilocalorieTag
struct  BritishThermalUnitTag
struct  ThermTag
struct  UnitTraits< JouleTag >
struct  UnitTraits< PicojouleTag >
struct  UnitTraits< NanojouleTag >
struct  UnitTraits< MicrojouleTag >
struct  UnitTraits< MillijouleTag >
struct  UnitTraits< KilojouleTag >
struct  UnitTraits< MegajouleTag >
struct  UnitTraits< GigajouleTag >
struct  UnitTraits< TerajouleTag >
struct  UnitTraits< WattHourTag >
struct  UnitTraits< KilowattHourTag >
struct  UnitTraits< ErgTag >
struct  UnitTraits< ElectronvoltTag >
struct  UnitTraits< KiloelectronvoltTag >
struct  UnitTraits< MegaelectronvoltTag >
struct  UnitTraits< CalorieTag >
struct  UnitTraits< KilocalorieTag >
struct  UnitTraits< BritishThermalUnitTag >
struct  UnitTraits< ThermTag >
struct  NewtonTag
struct  MicronewtonTag
struct  MillinewtonTag
struct  KilonewtonTag
struct  MeganewtonTag
struct  GiganewtonTag
struct  DyneTag
struct  PoundForceTag
struct  UnitTraits< NewtonTag >
struct  UnitTraits< MicronewtonTag >
struct  UnitTraits< MillinewtonTag >
struct  UnitTraits< KilonewtonTag >
struct  UnitTraits< MeganewtonTag >
struct  UnitTraits< GiganewtonTag >
struct  UnitTraits< DyneTag >
struct  UnitTraits< PoundForceTag >
struct  HertzTag
struct  MillihertzTag
struct  KilohertzTag
struct  MegahertzTag
struct  GigahertzTag
struct  TerahertzTag
struct  UnitTraits< HertzTag >
struct  UnitTraits< MillihertzTag >
struct  UnitTraits< KilohertzTag >
struct  UnitTraits< MegahertzTag >
struct  UnitTraits< GigahertzTag >
struct  UnitTraits< TerahertzTag >
struct  LuxTag
struct  MilliluxTag
struct  KiloluxTag
struct  UnitTraits< LuxTag >
struct  UnitTraits< MilliluxTag >
struct  UnitTraits< KiloluxTag >
struct  HenryTag
struct  MicrohenryTag
struct  MillihenryTag
struct  UnitTraits< HenryTag >
struct  UnitTraits< MicrohenryTag >
struct  UnitTraits< MillihenryTag >
struct  S10Tag
struct  UnitTraits< S10Tag >
struct  PlanckLengthTag
struct  YoctometerTag
struct  ZeptometerTag
struct  AttometerTag
struct  FemtometerTag
struct  PicometerTag
struct  NanometerTag
struct  MicrometerTag
struct  MillimeterTag
struct  CentimeterTag
struct  DecimeterTag
struct  MeterTag
struct  DecameterTag
struct  HectometerTag
struct  KilometerTag
struct  MegameterTag
struct  GigameterTag
struct  TerameterTag
struct  PetameterTag
struct  ExameterTag
struct  ZettameterTag
struct  YottameterTag
struct  BohrRadiusTag
struct  ClassicalElectronRadiusTag
struct  ElectronReducedComptonWavelengthTag
struct  AstronomicalUnitTag
struct  LightYearTag
struct  ParsecTag
struct  KiloparsecTag
struct  MegaparsecTag
struct  GigaparsecTag
struct  InchTag
struct  FootTag
struct  YardTag
struct  MileTag
struct  LinkTag
struct  FathomTag
struct  RodTag
struct  ChainTag
struct  NauticalMileTag
struct  NominalLunarRadiusTag
struct  NominalLunarDistanceTag
struct  NominalEarthPolarRadiusTag
struct  NominalEarthRadiusTag
struct  NominalEarthEquatorialRadiusTag
struct  EarthMeridionalCircumferenceTag
struct  EarthEquatorialCircumferenceTag
struct  NominalJupiterRadiusTag
struct  NominalSolarRadiusTag
struct  NominalSolarDiameterTag
struct  UnitTraits< PlanckLengthTag >
struct  UnitTraits< YoctometerTag >
struct  UnitTraits< ZeptometerTag >
struct  UnitTraits< AttometerTag >
struct  UnitTraits< FemtometerTag >
struct  UnitTraits< PicometerTag >
struct  UnitTraits< NanometerTag >
struct  UnitTraits< MicrometerTag >
struct  UnitTraits< MillimeterTag >
struct  UnitTraits< CentimeterTag >
struct  UnitTraits< DecimeterTag >
struct  UnitTraits< MeterTag >
struct  UnitTraits< DecameterTag >
struct  UnitTraits< HectometerTag >
struct  UnitTraits< KilometerTag >
struct  UnitTraits< MegameterTag >
struct  UnitTraits< GigameterTag >
struct  UnitTraits< TerameterTag >
struct  UnitTraits< PetameterTag >
struct  UnitTraits< ExameterTag >
struct  UnitTraits< ZettameterTag >
struct  UnitTraits< YottameterTag >
struct  UnitTraits< BohrRadiusTag >
struct  UnitTraits< ClassicalElectronRadiusTag >
struct  UnitTraits< ElectronReducedComptonWavelengthTag >
struct  UnitTraits< AstronomicalUnitTag >
struct  UnitTraits< LightYearTag >
struct  UnitTraits< ParsecTag >
struct  UnitTraits< KiloparsecTag >
struct  UnitTraits< MegaparsecTag >
struct  UnitTraits< GigaparsecTag >
struct  UnitTraits< InchTag >
struct  UnitTraits< FootTag >
struct  UnitTraits< YardTag >
struct  UnitTraits< MileTag >
struct  UnitTraits< LinkTag >
struct  UnitTraits< FathomTag >
struct  UnitTraits< RodTag >
struct  UnitTraits< ChainTag >
struct  UnitTraits< NauticalMileTag >
struct  UnitTraits< NominalLunarRadiusTag >
struct  UnitTraits< NominalLunarDistanceTag >
struct  UnitTraits< NominalEarthPolarRadiusTag >
struct  UnitTraits< NominalEarthRadiusTag >
struct  UnitTraits< NominalEarthEquatorialRadiusTag >
struct  UnitTraits< EarthMeridionalCircumferenceTag >
struct  UnitTraits< EarthEquatorialCircumferenceTag >
struct  UnitTraits< NominalJupiterRadiusTag >
struct  UnitTraits< NominalSolarRadiusTag >
struct  UnitTraits< NominalSolarDiameterTag >
struct  LumenTag
struct  MillilumenTag
struct  KilolumenTag
struct  UnitTraits< LumenTag >
struct  UnitTraits< MillilumenTag >
struct  UnitTraits< KilolumenTag >
struct  CandelaTag
struct  UnitTraits< CandelaTag >
struct  WeberTag
struct  MilliweberTag
struct  UnitTraits< WeberTag >
struct  UnitTraits< MilliweberTag >
struct  TeslaTag
struct  MilliteslaTag
struct  MicroteslaTag
struct  UnitTraits< TeslaTag >
struct  UnitTraits< MilliteslaTag >
struct  UnitTraits< MicroteslaTag >
struct  YoctogramTag
struct  ZeptogramTag
struct  AttogramTag
struct  FemtogramTag
struct  PicogramTag
struct  NanogramTag
struct  MicrogramTag
struct  MilligramTag
struct  CentigramTag
struct  DecigramTag
struct  GramTag
struct  DecagramTag
struct  HectogramTag
struct  KilogramTag
struct  MegagramTag
struct  GigagramTag
struct  TeragramTag
struct  PetagramTag
struct  ExagramTag
struct  ZettagramTag
struct  YottagramTag
struct  GrainTag
struct  OunceTag
struct  PoundTag
struct  StoneTag
struct  ShortTonTag
struct  LongTonTag
struct  CaratTag
struct  TonneTag
struct  AtomicMassUnitTag
struct  SolarMassTag
struct  UnitTraits< YoctogramTag >
struct  UnitTraits< ZeptogramTag >
struct  UnitTraits< AttogramTag >
struct  UnitTraits< FemtogramTag >
struct  UnitTraits< PicogramTag >
struct  UnitTraits< NanogramTag >
struct  UnitTraits< MicrogramTag >
struct  UnitTraits< MilligramTag >
struct  UnitTraits< CentigramTag >
struct  UnitTraits< DecigramTag >
struct  UnitTraits< GramTag >
struct  UnitTraits< DecagramTag >
struct  UnitTraits< HectogramTag >
struct  UnitTraits< KilogramTag >
struct  UnitTraits< MegagramTag >
struct  UnitTraits< GigagramTag >
struct  UnitTraits< TeragramTag >
struct  UnitTraits< PetagramTag >
struct  UnitTraits< ExagramTag >
struct  UnitTraits< ZettagramTag >
struct  UnitTraits< YottagramTag >
struct  UnitTraits< GrainTag >
struct  UnitTraits< OunceTag >
struct  UnitTraits< PoundTag >
struct  UnitTraits< StoneTag >
struct  UnitTraits< ShortTonTag >
struct  UnitTraits< LongTonTag >
struct  UnitTraits< CaratTag >
struct  UnitTraits< TonneTag >
struct  UnitTraits< AtomicMassUnitTag >
struct  UnitTraits< SolarMassTag >
struct  PhotonPerSquareMeterSecondSteradianTag
struct  PhotonPerSquareCentimeterSecondSteradianTag
struct  PhotonPerSquareCentimeterNanosecondSteradianTag
struct  UnitTraits< PhotonPerSquareMeterSecondSteradianTag >
struct  UnitTraits< PhotonPerSquareCentimeterSecondSteradianTag >
struct  UnitTraits< PhotonPerSquareCentimeterNanosecondSteradianTag >
struct  YoctowattTag
struct  ZeptowattTag
struct  AttowattTag
struct  FemtowattTag
struct  PicowattTag
struct  NanowattTag
struct  MicrowattTag
struct  MilliwattTag
struct  DeciwattTag
struct  WattTag
struct  DecawattTag
struct  HectowattTag
struct  KilowattTag
struct  MegawattTag
struct  GigawattTag
struct  TerawattTag
struct  PetawattTag
struct  ExawattTag
struct  ZettawattTag
struct  YottawattTag
struct  ErgPerSecondTag
struct  HorsepowerMetricTag
struct  HorsepowerElectricTag
struct  SolarLuminosityTag
struct  UnitTraits< YoctowattTag >
struct  UnitTraits< ZeptowattTag >
struct  UnitTraits< AttowattTag >
struct  UnitTraits< FemtowattTag >
struct  UnitTraits< PicowattTag >
struct  UnitTraits< NanowattTag >
struct  UnitTraits< MicrowattTag >
struct  UnitTraits< MilliwattTag >
struct  UnitTraits< DeciwattTag >
struct  UnitTraits< WattTag >
struct  UnitTraits< DecawattTag >
struct  UnitTraits< HectowattTag >
struct  UnitTraits< KilowattTag >
struct  UnitTraits< MegawattTag >
struct  UnitTraits< GigawattTag >
struct  UnitTraits< TerawattTag >
struct  UnitTraits< PetawattTag >
struct  UnitTraits< ExawattTag >
struct  UnitTraits< ZettawattTag >
struct  UnitTraits< YottawattTag >
struct  UnitTraits< ErgPerSecondTag >
struct  UnitTraits< HorsepowerMetricTag >
struct  UnitTraits< HorsepowerElectricTag >
struct  UnitTraits< SolarLuminosityTag >
struct  PascalTag
struct  MillipascalTag
struct  HectopascalTag
struct  KilopascalTag
struct  MegapascalTag
struct  GigapascalTag
struct  BarTag
struct  AtmosphereTag
struct  TorrTag
struct  MillimeterOfMercuryTag
struct  PoundPerSquareInchTag
struct  InchOfMercuryTag
struct  UnitTraits< PascalTag >
struct  UnitTraits< MillipascalTag >
struct  UnitTraits< HectopascalTag >
struct  UnitTraits< KilopascalTag >
struct  UnitTraits< MegapascalTag >
struct  UnitTraits< GigapascalTag >
struct  UnitTraits< BarTag >
struct  UnitTraits< AtmosphereTag >
struct  UnitTraits< TorrTag >
struct  UnitTraits< MillimeterOfMercuryTag >
struct  UnitTraits< PoundPerSquareInchTag >
struct  UnitTraits< InchOfMercuryTag >
struct  WattPerSquareMeterSteradianTag
struct  ErgPerSecondSquareCentimeterSteradianTag
struct  UnitTraits< WattPerSquareMeterSteradianTag >
struct  UnitTraits< ErgPerSecondSquareCentimeterSteradianTag >
struct  OhmTag
struct  MilliohmTag
struct  KilohmTag
struct  MegaohmTag
struct  UnitTraits< OhmTag >
struct  UnitTraits< MilliohmTag >
struct  UnitTraits< KilohmTag >
struct  UnitTraits< MegaohmTag >
struct  SquareDegreeTag
struct  SteradianTag
struct  SquareMilliradianTag
struct  SquareArcminuteTag
struct  SquareArcsecondTag
struct  UnitTraits< SquareDegreeTag >
struct  UnitTraits< SteradianTag >
struct  UnitTraits< SquareMilliradianTag >
struct  UnitTraits< SquareArcminuteTag >
struct  UnitTraits< SquareArcsecondTag >
struct  PhotonPerSquareMeterSecondSteradianMeterTag
struct  PhotonPerSquareCentimeterSecondSteradianAngstromTag
struct  PhotonPerSquareCentimeterSecondSteradianNanometerTag
struct  PhotonPerSquareCentimeterNanosecondSteradianNanometerTag
struct  UnitTraits< PhotonPerSquareMeterSecondSteradianMeterTag >
struct  UnitTraits< PhotonPerSquareCentimeterSecondSteradianAngstromTag >
struct  UnitTraits< PhotonPerSquareCentimeterSecondSteradianNanometerTag >
struct  UnitTraits< PhotonPerSquareCentimeterNanosecondSteradianNanometerTag >
struct  WattPerSquareMeterSteradianMeterTag
struct  WattPerSquareMeterSteradianNanometerTag
struct  ErgPerSecondSquareCentimeterSteradianAngstromTag
struct  UnitTraits< WattPerSquareMeterSteradianMeterTag >
struct  UnitTraits< WattPerSquareMeterSteradianNanometerTag >
struct  UnitTraits< ErgPerSecondSquareCentimeterSteradianAngstromTag >
struct  KelvinTag
struct  RankineTag
struct  UnitTraits< KelvinTag >
struct  UnitTraits< RankineTag >
struct  AttosecondTag
struct  FemtosecondTag
struct  PicosecondTag
struct  NanosecondTag
struct  MicrosecondTag
struct  MillisecondTag
struct  CentisecondTag
struct  DecisecondTag
struct  SecondTag
struct  DecasecondTag
struct  HectosecondTag
struct  KilosecondTag
struct  MegasecondTag
struct  GigasecondTag
struct  TerasecondTag
struct  MinuteTag
struct  HourTag
struct  DayTag
struct  WeekTag
struct  FortnightTag
struct  YearTag
struct  DecadeTag
struct  CenturyTag
struct  MillenniumTag
struct  JulianYearTag
struct  JulianCenturyTag
struct  SiderealDayTag
struct  SynodicMonthTag
struct  SiderealYearTag
struct  UnitTraits< AttosecondTag >
struct  UnitTraits< FemtosecondTag >
struct  UnitTraits< PicosecondTag >
struct  UnitTraits< NanosecondTag >
struct  UnitTraits< MicrosecondTag >
struct  UnitTraits< MillisecondTag >
struct  UnitTraits< CentisecondTag >
struct  UnitTraits< DecisecondTag >
struct  UnitTraits< SecondTag >
struct  UnitTraits< DecasecondTag >
struct  UnitTraits< HectosecondTag >
struct  UnitTraits< KilosecondTag >
struct  UnitTraits< MegasecondTag >
struct  UnitTraits< GigasecondTag >
struct  UnitTraits< TerasecondTag >
struct  UnitTraits< MinuteTag >
struct  UnitTraits< HourTag >
struct  UnitTraits< DayTag >
struct  UnitTraits< WeekTag >
struct  UnitTraits< FortnightTag >
struct  UnitTraits< YearTag >
struct  UnitTraits< DecadeTag >
struct  UnitTraits< CenturyTag >
struct  UnitTraits< MillenniumTag >
struct  UnitTraits< JulianYearTag >
struct  UnitTraits< JulianCenturyTag >
struct  UnitTraits< SiderealDayTag >
struct  UnitTraits< SynodicMonthTag >
struct  UnitTraits< SiderealYearTag >
struct  UnitTraits< CompoundTag< NumeratorTag, DenominatorTag > >
struct  UnitTraits< CompoundTag< MeterTag, SecondTag > >
struct  UnitTraits< CompoundTag< KilometerTag, HourTag > >
struct  UnitTraits< CompoundTag< MeterTag, HourTag > >
struct  UnitTraits< CompoundTag< KilometerTag, SecondTag > >
struct  UnitTraits< CompoundTag< MeterTag, MinuteTag > >
struct  UnitTraits< CompoundTag< KilometerTag, MinuteTag > >
struct  VoltTag
struct  MicrovoltTag
struct  MillivoltTag
struct  KilovoltTag
struct  MegavoltTag
struct  UnitTraits< VoltTag >
struct  UnitTraits< MicrovoltTag >
struct  UnitTraits< MillivoltTag >
struct  UnitTraits< KilovoltTag >
struct  UnitTraits< MegavoltTag >
struct  CubicMeterTag
struct  CubicKilometerTag
struct  CubicCentimeterTag
struct  CubicMillimeterTag
struct  LiterTag
struct  MilliliterTag
struct  MicroliterTag
struct  CentiliterTag
struct  DeciliterTag
struct  CubicInchTag
struct  CubicFootTag
struct  UsGallonTag
struct  UsFluidOunceTag
struct  UnitTraits< CubicMeterTag >
struct  UnitTraits< CubicKilometerTag >
struct  UnitTraits< CubicCentimeterTag >
struct  UnitTraits< CubicMillimeterTag >
struct  UnitTraits< LiterTag >
struct  UnitTraits< MilliliterTag >
struct  UnitTraits< MicroliterTag >
struct  UnitTraits< CentiliterTag >
struct  UnitTraits< DeciliterTag >
struct  UnitTraits< CubicInchTag >
struct  UnitTraits< CubicFootTag >
struct  UnitTraits< UsGallonTag >
struct  UnitTraits< UsFluidOunceTag >

Typedefs

using MeterPerSecondSquared = Quantity<MeterPerSecondSquaredTag>
using StandardGravity = Quantity<StandardGravityTag>
using Mole = Quantity<MoleTag>
using Nanomole = Quantity<NanomoleTag>
using Micromole = Quantity<MicromoleTag>
using Millimole = Quantity<MillimoleTag>
using Kilomole = Quantity<KilomoleTag>
using Milliradian = Quantity<MilliradianTag>
using Radian = Quantity<RadianTag>
using MicroArcsecond = Quantity<MicroArcsecondTag>
using MilliArcsecond = Quantity<MilliArcsecondTag>
using Arcsecond = Quantity<ArcsecondTag>
using Arcminute = Quantity<ArcminuteTag>
using Degree = Quantity<DegreeTag>
using Gradian = Quantity<GradianTag>
using Turn = Quantity<TurnTag>
using HourAngle = Quantity<HourAngleTag>
using SquareMeter = Quantity<SquareMeterTag>
using SquareKilometer = Quantity<SquareKilometerTag>
using SquareCentimeter = Quantity<SquareCentimeterTag>
using SquareMillimeter = Quantity<SquareMillimeterTag>
using Hectare = Quantity<HectareTag>
using Are = Quantity<AreTag>
using SquareInch = Quantity<SquareInchTag>
using SquareFoot = Quantity<SquareFootTag>
using SquareYard = Quantity<SquareYardTag>
using SquareMile = Quantity<SquareMileTag>
using Acre = Quantity<AcreTag>
using Farad = Quantity<FaradTag>
using Picofarad = Quantity<PicofaradTag>
using Nanofarad = Quantity<NanofaradTag>
using Microfarad = Quantity<MicrofaradTag>
using Millifarad = Quantity<MillifaradTag>
using Coulomb = Quantity<CoulombTag>
using Millicoulomb = Quantity<MillicoulombTag>
using Microcoulomb = Quantity<MicrocoulombTag>
using Kilocoulomb = Quantity<KilocoulombTag>
using Ampere = Quantity<AmpereTag>
using Microampere = Quantity<MicroampereTag>
using Milliampere = Quantity<MilliampereTag>
using Kiloampere = Quantity<KiloampereTag>
using KilogramPerCubicMeter = Quantity<KilogramPerCubicMeterTag>
using GramPerCubicCentimeter = Quantity<GramPerCubicCentimeterTag>
using GramPerMilliliter = Quantity<GramPerMilliliterTag>
using PoundPerCubicFoot = Quantity<PoundPerCubicFootTag>
using OpticalDepth = Quantity<OpticalDepthTag>
using Airmass = Quantity<AirmassTag>
using Transmittance = Quantity<TransmittanceTag>
using Albedo = Quantity<AlbedoTag>
using IlluminationFraction = Quantity<IlluminationFractionTag>
using Refractivity = Quantity<RefractivityTag>
using Ratio = Quantity<RatioTag>
using Joule = Quantity<JouleTag>
using Picojoule = Quantity<PicojouleTag>
using Nanojoule = Quantity<NanojouleTag>
using Microjoule = Quantity<MicrojouleTag>
using Millijoule = Quantity<MillijouleTag>
using Kilojoule = Quantity<KilojouleTag>
using Megajoule = Quantity<MegajouleTag>
using Gigajoule = Quantity<GigajouleTag>
using Terajoule = Quantity<TerajouleTag>
using WattHour = Quantity<WattHourTag>
using KilowattHour = Quantity<KilowattHourTag>
using Erg = Quantity<ErgTag>
using Electronvolt = Quantity<ElectronvoltTag>
using Kiloelectronvolt = Quantity<KiloelectronvoltTag>
using Megaelectronvolt = Quantity<MegaelectronvoltTag>
using Calorie = Quantity<CalorieTag>
using Kilocalorie = Quantity<KilocalorieTag>
using BritishThermalUnit = Quantity<BritishThermalUnitTag>
using Therm = Quantity<ThermTag>
using Newton = Quantity<NewtonTag>
using Micronewton = Quantity<MicronewtonTag>
using Millinewton = Quantity<MillinewtonTag>
using Kilonewton = Quantity<KilonewtonTag>
using Meganewton = Quantity<MeganewtonTag>
using Giganewton = Quantity<GiganewtonTag>
using Dyne = Quantity<DyneTag>
using PoundForce = Quantity<PoundForceTag>
using Hertz = Quantity<HertzTag>
using Millihertz = Quantity<MillihertzTag>
using Kilohertz = Quantity<KilohertzTag>
using Megahertz = Quantity<MegahertzTag>
using Gigahertz = Quantity<GigahertzTag>
using Terahertz = Quantity<TerahertzTag>
using Lux = Quantity<LuxTag>
using Millilux = Quantity<MilliluxTag>
using Kilolux = Quantity<KiloluxTag>
using Henry = Quantity<HenryTag>
using Microhenry = Quantity<MicrohenryTag>
using Millihenry = Quantity<MillihenryTag>
using S10 = Quantity<S10Tag>
using PlanckLength = Quantity<PlanckLengthTag>
using Yoctometer = Quantity<YoctometerTag>
using Zeptometer = Quantity<ZeptometerTag>
using Attometer = Quantity<AttometerTag>
using Femtometer = Quantity<FemtometerTag>
using Picometer = Quantity<PicometerTag>
using Nanometer = Quantity<NanometerTag>
using Micrometer = Quantity<MicrometerTag>
using Millimeter = Quantity<MillimeterTag>
using Centimeter = Quantity<CentimeterTag>
using Decimeter = Quantity<DecimeterTag>
using Meter = Quantity<MeterTag>
using Decameter = Quantity<DecameterTag>
using Hectometer = Quantity<HectometerTag>
using Kilometer = Quantity<KilometerTag>
using Megameter = Quantity<MegameterTag>
using Gigameter = Quantity<GigameterTag>
using Terameter = Quantity<TerameterTag>
using Petameter = Quantity<PetameterTag>
using Exameter = Quantity<ExameterTag>
using Zettameter = Quantity<ZettameterTag>
using Yottameter = Quantity<YottameterTag>
using BohrRadius = Quantity<BohrRadiusTag>
using ClassicalElectronRadius = Quantity<ClassicalElectronRadiusTag>
using ElectronReducedComptonWavelength = Quantity<ElectronReducedComptonWavelengthTag>
using AstronomicalUnit = Quantity<AstronomicalUnitTag>
using LightYear = Quantity<LightYearTag>
using Parsec = Quantity<ParsecTag>
using Kiloparsec = Quantity<KiloparsecTag>
using Megaparsec = Quantity<MegaparsecTag>
using Gigaparsec = Quantity<GigaparsecTag>
using Inch = Quantity<InchTag>
using Foot = Quantity<FootTag>
using Yard = Quantity<YardTag>
using Mile = Quantity<MileTag>
using Link = Quantity<LinkTag>
using Fathom = Quantity<FathomTag>
using Rod = Quantity<RodTag>
using Chain = Quantity<ChainTag>
using NauticalMile = Quantity<NauticalMileTag>
using NominalLunarRadius = Quantity<NominalLunarRadiusTag>
using NominalLunarDistance = Quantity<NominalLunarDistanceTag>
using NominalEarthPolarRadius = Quantity<NominalEarthPolarRadiusTag>
using NominalEarthRadius = Quantity<NominalEarthRadiusTag>
using NominalEarthEquatorialRadius = Quantity<NominalEarthEquatorialRadiusTag>
using EarthMeridionalCircumference = Quantity<EarthMeridionalCircumferenceTag>
using EarthEquatorialCircumference = Quantity<EarthEquatorialCircumferenceTag>
using NominalJupiterRadius = Quantity<NominalJupiterRadiusTag>
using NominalSolarRadius = Quantity<NominalSolarRadiusTag>
using NominalSolarDiameter = Quantity<NominalSolarDiameterTag>
using Lumen = Quantity<LumenTag>
using Millilumen = Quantity<MillilumenTag>
using Kilolumen = Quantity<KilolumenTag>
using Candela = Quantity<CandelaTag>
using Weber = Quantity<WeberTag>
using Milliweber = Quantity<MilliweberTag>
using Tesla = Quantity<TeslaTag>
using Millitesla = Quantity<MilliteslaTag>
using Microtesla = Quantity<MicroteslaTag>
using Yoctogram = Quantity<YoctogramTag>
using Zeptogram = Quantity<ZeptogramTag>
using Attogram = Quantity<AttogramTag>
using Femtogram = Quantity<FemtogramTag>
using Picogram = Quantity<PicogramTag>
using Nanogram = Quantity<NanogramTag>
using Microgram = Quantity<MicrogramTag>
using Milligram = Quantity<MilligramTag>
using Centigram = Quantity<CentigramTag>
using Decigram = Quantity<DecigramTag>
using Gram = Quantity<GramTag>
using Decagram = Quantity<DecagramTag>
using Hectogram = Quantity<HectogramTag>
using Kilogram = Quantity<KilogramTag>
using Megagram = Quantity<MegagramTag>
using Gigagram = Quantity<GigagramTag>
using Teragram = Quantity<TeragramTag>
using Petagram = Quantity<PetagramTag>
using Exagram = Quantity<ExagramTag>
using Zettagram = Quantity<ZettagramTag>
using Yottagram = Quantity<YottagramTag>
using Grain = Quantity<GrainTag>
using Ounce = Quantity<OunceTag>
using Pound = Quantity<PoundTag>
using Stone = Quantity<StoneTag>
using ShortTon = Quantity<ShortTonTag>
using LongTon = Quantity<LongTonTag>
using Carat = Quantity<CaratTag>
using Tonne = Quantity<TonneTag>
using AtomicMassUnit = Quantity<AtomicMassUnitTag>
using SolarMass = Quantity<SolarMassTag>
using PhotonPerSquareMeterSecondSteradian = Quantity<PhotonPerSquareMeterSecondSteradianTag>
using PhotonPerSquareCentimeterSecondSteradian
using PhotonPerSquareCentimeterNanosecondSteradian
using Yoctowatt = Quantity<YoctowattTag>
using Zeptowatt = Quantity<ZeptowattTag>
using Attowatt = Quantity<AttowattTag>
using Femtowatt = Quantity<FemtowattTag>
using Picowatt = Quantity<PicowattTag>
using Nanowatt = Quantity<NanowattTag>
using Microwatt = Quantity<MicrowattTag>
using Milliwatt = Quantity<MilliwattTag>
using Deciwatt = Quantity<DeciwattTag>
using Watt = Quantity<WattTag>
using Decawatt = Quantity<DecawattTag>
using Hectowatt = Quantity<HectowattTag>
using Kilowatt = Quantity<KilowattTag>
using Megawatt = Quantity<MegawattTag>
using Gigawatt = Quantity<GigawattTag>
using Terawatt = Quantity<TerawattTag>
using Petawatt = Quantity<PetawattTag>
using Exawatt = Quantity<ExawattTag>
using Zettawatt = Quantity<ZettawattTag>
using Yottawatt = Quantity<YottawattTag>
using ErgPerSecond = Quantity<ErgPerSecondTag>
using HorsepowerMetric = Quantity<HorsepowerMetricTag>
using HorsepowerElectric = Quantity<HorsepowerElectricTag>
using SolarLuminosity = Quantity<SolarLuminosityTag>
using Pascal = Quantity<PascalTag>
using Millipascal = Quantity<MillipascalTag>
using Hectopascal = Quantity<HectopascalTag>
using Kilopascal = Quantity<KilopascalTag>
using Megapascal = Quantity<MegapascalTag>
using Gigapascal = Quantity<GigapascalTag>
using Bar = Quantity<BarTag>
using Atmosphere = Quantity<AtmosphereTag>
using Torr = Quantity<TorrTag>
using MillimeterOfMercury = Quantity<MillimeterOfMercuryTag>
using PoundPerSquareInch = Quantity<PoundPerSquareInchTag>
using InchOfMercury = Quantity<InchOfMercuryTag>
using WattPerSquareMeterSteradian = Quantity<WattPerSquareMeterSteradianTag>
using ErgPerSecondSquareCentimeterSteradian = Quantity<ErgPerSecondSquareCentimeterSteradianTag>
using Ohm = Quantity<OhmTag>
using Milliohm = Quantity<MilliohmTag>
using Kilohm = Quantity<KilohmTag>
using Megaohm = Quantity<MegaohmTag>
using SquareDegree = Quantity<SquareDegreeTag>
using Steradian = Quantity<SteradianTag>
using SquareMilliradian = Quantity<SquareMilliradianTag>
using SquareArcminute = Quantity<SquareArcminuteTag>
using SquareArcsecond = Quantity<SquareArcsecondTag>
using PhotonPerSquareMeterSecondSteradianMeter
using PhotonPerSquareCentimeterSecondSteradianAngstrom
using PhotonPerSquareCentimeterSecondSteradianNanometer
using PhotonPerSquareCentimeterNanosecondSteradianNanometer
using WattPerSquareMeterSteradianMeter = Quantity<WattPerSquareMeterSteradianMeterTag>
using WattPerSquareMeterSteradianNanometer = Quantity<WattPerSquareMeterSteradianNanometerTag>
using ErgPerSecondSquareCentimeterSteradianAngstrom
using Kelvin = Quantity<KelvinTag>
using Rankine = Quantity<RankineTag>
using Attosecond = Quantity<AttosecondTag>
using Femtosecond = Quantity<FemtosecondTag>
using Picosecond = Quantity<PicosecondTag>
using Nanosecond = Quantity<NanosecondTag>
using Microsecond = Quantity<MicrosecondTag>
using Millisecond = Quantity<MillisecondTag>
using Centisecond = Quantity<CentisecondTag>
using Decisecond = Quantity<DecisecondTag>
using Second = Quantity<SecondTag>
using Decasecond = Quantity<DecasecondTag>
using Hectosecond = Quantity<HectosecondTag>
using Kilosecond = Quantity<KilosecondTag>
using Megasecond = Quantity<MegasecondTag>
using Gigasecond = Quantity<GigasecondTag>
using Terasecond = Quantity<TerasecondTag>
using Minute = Quantity<MinuteTag>
using Hour = Quantity<HourTag>
using Day = Quantity<DayTag>
using Week = Quantity<WeekTag>
using Fortnight = Quantity<FortnightTag>
using Year = Quantity<YearTag>
using Decade = Quantity<DecadeTag>
using Century = Quantity<CenturyTag>
using Millennium = Quantity<MillenniumTag>
using JulianYear = Quantity<JulianYearTag>
using JulianCentury = Quantity<JulianCenturyTag>
using SiderealDay = Quantity<SiderealDayTag>
using SynodicMonth = Quantity<SynodicMonthTag>
using SiderealYear = Quantity<SiderealYearTag>
template<typename LengthUnit, typename TimeUnit>
using Velocity = Quantity<CompoundTag<typename LengthUnit::unit_tag, typename TimeUnit::unit_tag>>
using MeterPerSecond = Quantity<CompoundTag<MeterTag, SecondTag>>
using KilometerPerHour = Quantity<CompoundTag<KilometerTag, HourTag>>
using KilometerPerSecond = Quantity<CompoundTag<KilometerTag, SecondTag>>
using MeterPerHour = Quantity<CompoundTag<MeterTag, HourTag>>
using MeterPerMinute = Quantity<CompoundTag<MeterTag, MinuteTag>>
using KilometerPerMinute = Quantity<CompoundTag<KilometerTag, MinuteTag>>
using Volt = Quantity<VoltTag>
using Microvolt = Quantity<MicrovoltTag>
using Millivolt = Quantity<MillivoltTag>
using Kilovolt = Quantity<KilovoltTag>
using Megavolt = Quantity<MegavoltTag>
using CubicMeter = Quantity<CubicMeterTag>
using CubicKilometer = Quantity<CubicKilometerTag>
using CubicCentimeter = Quantity<CubicCentimeterTag>
using CubicMillimeter = Quantity<CubicMillimeterTag>
using Liter = Quantity<LiterTag>
using Milliliter = Quantity<MilliliterTag>
using Microliter = Quantity<MicroliterTag>
using Centiliter = Quantity<CentiliterTag>
using Deciliter = Quantity<DeciliterTag>
using CubicInch = Quantity<CubicInchTag>
using CubicFoot = Quantity<CubicFootTag>
using UsGallon = Quantity<UsGallonTag>
using UsFluidOunce = Quantity<UsFluidOunceTag>

Functions

 QTTY_MARK_ANGULAR (MilliradianTag)
 QTTY_MARK_ANGULAR (RadianTag)
 QTTY_MARK_ANGULAR (MicroArcsecondTag)
 QTTY_MARK_ANGULAR (MilliArcsecondTag)
 QTTY_MARK_ANGULAR (ArcsecondTag)
 QTTY_MARK_ANGULAR (ArcminuteTag)
 QTTY_MARK_ANGULAR (DegreeTag)
 QTTY_MARK_ANGULAR (GradianTag)
 QTTY_MARK_ANGULAR (TurnTag)
 QTTY_MARK_ANGULAR (HourAngleTag)
template<class Tag>
auto sin (Quantity< Tag > a)
template<class Tag>
auto cos (Quantity< Tag > a)
template<class Tag>
auto tan (Quantity< Tag > a)
template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
double angular_full_turn ()
 Magnitude of one full revolution expressed in the angular unit Tag.
template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > wrap_pos (Quantity< Tag > a)
 Wrap into the canonical positive range [0, FULL_TURN).
template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > normalize (Quantity< Tag > a)
 Alias of wrap_pos: normalize into [0, FULL_TURN).
template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > wrap_signed (Quantity< Tag > a)
 Wrap into the signed range (-HALF_TURN, HALF_TURN].
template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > wrap_signed_lo (Quantity< Tag > a)
 Wrap into the alternate signed range [-HALF_TURN, HALF_TURN).
template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > wrap_quarter_fold (Quantity< Tag > a)
 "Latitude fold": map into [-QUARTER_TURN, +QUARTER_TURN].
template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > signed_separation (Quantity< Tag > a, Quantity< Tag > b)
 Signed smallest angular separation in (-HALF_TURN, HALF_TURN].
template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > abs_separation (Quantity< Tag > a, Quantity< Tag > b)
 Absolute smallest angular separation (magnitude only).
void check_status (QttyStatus status, const char *operation)
 Convert qtty FFI status codes into typed C++ exceptions.
template<typename Tag>
constexpr bool is_dimensionless_tag ()
template<typename UnitTag>
std::ostream & operator<< (std::ostream &os, const Quantity< UnitTag > &q)
constexpr PlanckLength operator""_lp (long double value)
constexpr PlanckLength operator""_lp (unsigned long long value)
constexpr Yoctometer operator""_ym (long double value)
constexpr Yoctometer operator""_ym (unsigned long long value)
constexpr Zeptometer operator""_zm (long double value)
constexpr Zeptometer operator""_zm (unsigned long long value)
constexpr Attometer operator""_am (long double value)
constexpr Attometer operator""_am (unsigned long long value)
constexpr Femtometer operator""_fm (long double value)
constexpr Femtometer operator""_fm (unsigned long long value)
constexpr Picometer operator""_pm (long double value)
constexpr Picometer operator""_pm (unsigned long long value)
constexpr Nanometer operator""_nm (long double value)
constexpr Nanometer operator""_nm (unsigned long long value)
constexpr Micrometer operator""_um (long double value)
constexpr Micrometer operator""_um (unsigned long long value)
constexpr Millimeter operator""_mm (long double value)
constexpr Millimeter operator""_mm (unsigned long long value)
constexpr Centimeter operator""_cm (long double value)
constexpr Centimeter operator""_cm (unsigned long long value)
constexpr Decimeter operator""_dm (long double value)
constexpr Decimeter operator""_dm (unsigned long long value)
constexpr Meter operator""_m (long double value)
constexpr Meter operator""_m (unsigned long long value)
constexpr Decameter operator""_dam (long double value)
constexpr Decameter operator""_dam (unsigned long long value)
constexpr Hectometer operator""_hm (long double value)
constexpr Hectometer operator""_hm (unsigned long long value)
constexpr Kilometer operator""_km (long double value)
constexpr Kilometer operator""_km (unsigned long long value)
constexpr Megameter operator""_Mm (long double value)
constexpr Megameter operator""_Mm (unsigned long long value)
constexpr Gigameter operator""_Gm (long double value)
constexpr Gigameter operator""_Gm (unsigned long long value)
constexpr Terameter operator""_Tm (long double value)
constexpr Terameter operator""_Tm (unsigned long long value)
constexpr Petameter operator""_Pm (long double value)
constexpr Petameter operator""_Pm (unsigned long long value)
constexpr Exameter operator""_Em (long double value)
constexpr Exameter operator""_Em (unsigned long long value)
constexpr Zettameter operator""_Zm (long double value)
constexpr Zettameter operator""_Zm (unsigned long long value)
constexpr Yottameter operator""_Ym (long double value)
constexpr Yottameter operator""_Ym (unsigned long long value)
constexpr BohrRadius operator""_a0 (long double value)
constexpr BohrRadius operator""_a0 (unsigned long long value)
constexpr ClassicalElectronRadius operator""_re (long double value)
constexpr ClassicalElectronRadius operator""_re (unsigned long long value)
constexpr ElectronReducedComptonWavelength operator""_lambda_bar_e (long double value)
constexpr ElectronReducedComptonWavelength operator""_lambda_bar_e (unsigned long long value)
constexpr AstronomicalUnit operator""_au (long double value)
constexpr AstronomicalUnit operator""_au (unsigned long long value)
constexpr LightYear operator""_ly (long double value)
constexpr LightYear operator""_ly (unsigned long long value)
constexpr Parsec operator""_pc (long double value)
constexpr Parsec operator""_pc (unsigned long long value)
constexpr Kiloparsec operator""_kpc (long double value)
constexpr Kiloparsec operator""_kpc (unsigned long long value)
constexpr Megaparsec operator""_Mpc (long double value)
constexpr Megaparsec operator""_Mpc (unsigned long long value)
constexpr Gigaparsec operator""_Gpc (long double value)
constexpr Gigaparsec operator""_Gpc (unsigned long long value)
constexpr Inch operator""_in (long double value)
constexpr Inch operator""_in (unsigned long long value)
constexpr Foot operator""_ft (long double value)
constexpr Foot operator""_ft (unsigned long long value)
constexpr Yard operator""_yd (long double value)
constexpr Yard operator""_yd (unsigned long long value)
constexpr Mile operator""_mi (long double value)
constexpr Mile operator""_mi (unsigned long long value)
constexpr Link operator""_lk (long double value)
constexpr Link operator""_lk (unsigned long long value)
constexpr Fathom operator""_ftm (long double value)
constexpr Fathom operator""_ftm (unsigned long long value)
constexpr Rod operator""_rd (long double value)
constexpr Rod operator""_rd (unsigned long long value)
constexpr Chain operator""_ch (long double value)
constexpr Chain operator""_ch (unsigned long long value)
constexpr NauticalMile operator""_nmi (long double value)
constexpr NauticalMile operator""_nmi (unsigned long long value)
constexpr NominalLunarRadius operator""_Rmoon (long double value)
constexpr NominalLunarRadius operator""_Rmoon (unsigned long long value)
constexpr NominalLunarDistance operator""_LD (long double value)
constexpr NominalLunarDistance operator""_LD (unsigned long long value)
constexpr NominalEarthPolarRadius operator""_Rearth_p (long double value)
constexpr NominalEarthPolarRadius operator""_Rearth_p (unsigned long long value)
constexpr NominalEarthRadius operator""_Rearth (long double value)
constexpr NominalEarthRadius operator""_Rearth (unsigned long long value)
constexpr NominalEarthEquatorialRadius operator""_Rearth_eq (long double value)
constexpr NominalEarthEquatorialRadius operator""_Rearth_eq (unsigned long long value)
constexpr EarthMeridionalCircumference operator""_Cmer (long double value)
constexpr EarthMeridionalCircumference operator""_Cmer (unsigned long long value)
constexpr EarthEquatorialCircumference operator""_Ceq (long double value)
constexpr EarthEquatorialCircumference operator""_Ceq (unsigned long long value)
constexpr NominalJupiterRadius operator""_Rjup (long double value)
constexpr NominalJupiterRadius operator""_Rjup (unsigned long long value)
constexpr NominalSolarRadius operator""_Rsun (long double value)
constexpr NominalSolarRadius operator""_Rsun (unsigned long long value)
constexpr NominalSolarDiameter operator""_Dsun (long double value)
constexpr NominalSolarDiameter operator""_Dsun (unsigned long long value)
constexpr Attosecond operator""_as (long double value)
constexpr Attosecond operator""_as (unsigned long long value)
constexpr Femtosecond operator""_fs (long double value)
constexpr Femtosecond operator""_fs (unsigned long long value)
constexpr Picosecond operator""_ps (long double value)
constexpr Picosecond operator""_ps (unsigned long long value)
constexpr Nanosecond operator""_ns (long double value)
constexpr Nanosecond operator""_ns (unsigned long long value)
constexpr Microsecond operator""_us (long double value)
constexpr Microsecond operator""_us (unsigned long long value)
constexpr Millisecond operator""_ms (long double value)
constexpr Millisecond operator""_ms (unsigned long long value)
constexpr Centisecond operator""_cs (long double value)
constexpr Centisecond operator""_cs (unsigned long long value)
constexpr Decisecond operator""_ds (long double value)
constexpr Decisecond operator""_ds (unsigned long long value)
constexpr Second operator""_s (long double value)
constexpr Second operator""_s (unsigned long long value)
constexpr Decasecond operator""_das (long double value)
constexpr Decasecond operator""_das (unsigned long long value)
constexpr Hectosecond operator""_hs (long double value)
constexpr Hectosecond operator""_hs (unsigned long long value)
constexpr Kilosecond operator""_ks (long double value)
constexpr Kilosecond operator""_ks (unsigned long long value)
constexpr Megasecond operator""_Ms (long double value)
constexpr Megasecond operator""_Ms (unsigned long long value)
constexpr Gigasecond operator""_Gs (long double value)
constexpr Gigasecond operator""_Gs (unsigned long long value)
constexpr Terasecond operator""_Ts (long double value)
constexpr Terasecond operator""_Ts (unsigned long long value)
constexpr Minute operator""_min (long double value)
constexpr Minute operator""_min (unsigned long long value)
constexpr Hour operator""_h (long double value)
constexpr Hour operator""_h (unsigned long long value)
constexpr Day operator""_d (long double value)
constexpr Day operator""_d (unsigned long long value)
constexpr Week operator""_wk (long double value)
constexpr Week operator""_wk (unsigned long long value)
constexpr Fortnight operator""_fn (long double value)
constexpr Fortnight operator""_fn (unsigned long long value)
constexpr Year operator""_yr (long double value)
constexpr Year operator""_yr (unsigned long long value)
constexpr Decade operator""_dec (long double value)
constexpr Decade operator""_dec (unsigned long long value)
constexpr Century operator""_c (long double value)
constexpr Century operator""_c (unsigned long long value)
constexpr Millennium operator""_mill (long double value)
constexpr Millennium operator""_mill (unsigned long long value)
constexpr JulianYear operator""_a (long double value)
constexpr JulianYear operator""_a (unsigned long long value)
constexpr JulianCentury operator""_JC (long double value)
constexpr JulianCentury operator""_JC (unsigned long long value)
constexpr SiderealDay operator""_sd (long double value)
constexpr SiderealDay operator""_sd (unsigned long long value)
constexpr SynodicMonth operator""_synmo (long double value)
constexpr SynodicMonth operator""_synmo (unsigned long long value)
constexpr SiderealYear operator""_syr (long double value)
constexpr SiderealYear operator""_syr (unsigned long long value)
constexpr Milliradian operator""_mrad (long double value)
constexpr Milliradian operator""_mrad (unsigned long long value)
constexpr Radian operator""_rad (long double value)
constexpr Radian operator""_rad (unsigned long long value)
constexpr MicroArcsecond operator""_uas (long double value)
constexpr MicroArcsecond operator""_uas (unsigned long long value)
constexpr MilliArcsecond operator""_mas (long double value)
constexpr MilliArcsecond operator""_mas (unsigned long long value)
constexpr Arcsecond operator""_arcsec (long double value)
constexpr Arcsecond operator""_arcsec (unsigned long long value)
constexpr Arcminute operator""_arcmin (long double value)
constexpr Arcminute operator""_arcmin (unsigned long long value)
constexpr Degree operator""_deg (long double value)
constexpr Degree operator""_deg (unsigned long long value)
constexpr Gradian operator""_gon (long double value)
constexpr Gradian operator""_gon (unsigned long long value)
constexpr Turn operator""_tr (long double value)
constexpr Turn operator""_tr (unsigned long long value)
constexpr Yoctogram operator""_yg (long double value)
constexpr Yoctogram operator""_yg (unsigned long long value)
constexpr Zeptogram operator""_zg (long double value)
constexpr Zeptogram operator""_zg (unsigned long long value)
constexpr Attogram operator""_ag (long double value)
constexpr Attogram operator""_ag (unsigned long long value)
constexpr Femtogram operator""_fg (long double value)
constexpr Femtogram operator""_fg (unsigned long long value)
constexpr Picogram operator""_pg (long double value)
constexpr Picogram operator""_pg (unsigned long long value)
constexpr Nanogram operator""_ng (long double value)
constexpr Nanogram operator""_ng (unsigned long long value)
constexpr Microgram operator""_ug (long double value)
constexpr Microgram operator""_ug (unsigned long long value)
constexpr Milligram operator""_mg (long double value)
constexpr Milligram operator""_mg (unsigned long long value)
constexpr Centigram operator""_cg (long double value)
constexpr Centigram operator""_cg (unsigned long long value)
constexpr Decigram operator""_dg (long double value)
constexpr Decigram operator""_dg (unsigned long long value)
constexpr Gram operator""_g (long double value)
constexpr Gram operator""_g (unsigned long long value)
constexpr Decagram operator""_dag (long double value)
constexpr Decagram operator""_dag (unsigned long long value)
constexpr Hectogram operator""_hg (long double value)
constexpr Hectogram operator""_hg (unsigned long long value)
constexpr Kilogram operator""_kg (long double value)
constexpr Kilogram operator""_kg (unsigned long long value)
constexpr Megagram operator""_Mg (long double value)
constexpr Megagram operator""_Mg (unsigned long long value)
constexpr Gigagram operator""_Gg (long double value)
constexpr Gigagram operator""_Gg (unsigned long long value)
constexpr Teragram operator""_Tg (long double value)
constexpr Teragram operator""_Tg (unsigned long long value)
constexpr Petagram operator""_Pg (long double value)
constexpr Petagram operator""_Pg (unsigned long long value)
constexpr Exagram operator""_Eg (long double value)
constexpr Exagram operator""_Eg (unsigned long long value)
constexpr Zettagram operator""_Zg (long double value)
constexpr Zettagram operator""_Zg (unsigned long long value)
constexpr Yottagram operator""_Yg (long double value)
constexpr Yottagram operator""_Yg (unsigned long long value)
constexpr Grain operator""_gr (long double value)
constexpr Grain operator""_gr (unsigned long long value)
constexpr Ounce operator""_oz (long double value)
constexpr Ounce operator""_oz (unsigned long long value)
constexpr Pound operator""_lb (long double value)
constexpr Pound operator""_lb (unsigned long long value)
constexpr Stone operator""_st (long double value)
constexpr Stone operator""_st (unsigned long long value)
constexpr ShortTon operator""_ton_us (long double value)
constexpr ShortTon operator""_ton_us (unsigned long long value)
constexpr LongTon operator""_ton_uk (long double value)
constexpr LongTon operator""_ton_uk (unsigned long long value)
constexpr Carat operator""_ct (long double value)
constexpr Carat operator""_ct (unsigned long long value)
constexpr Tonne operator""_t (long double value)
constexpr Tonne operator""_t (unsigned long long value)
constexpr AtomicMassUnit operator""_u (long double value)
constexpr AtomicMassUnit operator""_u (unsigned long long value)
constexpr SolarMass operator""_Msol (long double value)
constexpr SolarMass operator""_Msol (unsigned long long value)
constexpr Yoctowatt operator""_yW (long double value)
constexpr Yoctowatt operator""_yW (unsigned long long value)
constexpr Zeptowatt operator""_zW (long double value)
constexpr Zeptowatt operator""_zW (unsigned long long value)
constexpr Attowatt operator""_aW (long double value)
constexpr Attowatt operator""_aW (unsigned long long value)
constexpr Femtowatt operator""_fW (long double value)
constexpr Femtowatt operator""_fW (unsigned long long value)
constexpr Picowatt operator""_pW (long double value)
constexpr Picowatt operator""_pW (unsigned long long value)
constexpr Nanowatt operator""_nW (long double value)
constexpr Nanowatt operator""_nW (unsigned long long value)
constexpr Microwatt operator""_uW (long double value)
constexpr Microwatt operator""_uW (unsigned long long value)
constexpr Milliwatt operator""_mW (long double value)
constexpr Milliwatt operator""_mW (unsigned long long value)
constexpr Deciwatt operator""_dW (long double value)
constexpr Deciwatt operator""_dW (unsigned long long value)
constexpr Watt operator""_W (long double value)
constexpr Watt operator""_W (unsigned long long value)
constexpr Decawatt operator""_daW (long double value)
constexpr Decawatt operator""_daW (unsigned long long value)
constexpr Hectowatt operator""_hW (long double value)
constexpr Hectowatt operator""_hW (unsigned long long value)
constexpr Kilowatt operator""_kW (long double value)
constexpr Kilowatt operator""_kW (unsigned long long value)
constexpr Megawatt operator""_MW (long double value)
constexpr Megawatt operator""_MW (unsigned long long value)
constexpr Gigawatt operator""_GW (long double value)
constexpr Gigawatt operator""_GW (unsigned long long value)
constexpr Terawatt operator""_TW (long double value)
constexpr Terawatt operator""_TW (unsigned long long value)
constexpr Petawatt operator""_PW (long double value)
constexpr Petawatt operator""_PW (unsigned long long value)
constexpr Exawatt operator""_EW (long double value)
constexpr Exawatt operator""_EW (unsigned long long value)
constexpr Zettawatt operator""_ZW (long double value)
constexpr Zettawatt operator""_ZW (unsigned long long value)
constexpr Yottawatt operator""_YW (long double value)
constexpr Yottawatt operator""_YW (unsigned long long value)
constexpr ErgPerSecond operator""_erg_per_s (long double value)
constexpr ErgPerSecond operator""_erg_per_s (unsigned long long value)
constexpr HorsepowerMetric operator""_PS (long double value)
constexpr HorsepowerMetric operator""_PS (unsigned long long value)
constexpr HorsepowerElectric operator""_hp_e (long double value)
constexpr HorsepowerElectric operator""_hp_e (unsigned long long value)
constexpr SolarLuminosity operator""_Lsol (long double value)
constexpr SolarLuminosity operator""_Lsol (unsigned long long value)
constexpr Hectare operator""_ha (long double value)
constexpr Hectare operator""_ha (unsigned long long value)
constexpr Acre operator""_ac (long double value)
constexpr Acre operator""_ac (unsigned long long value)
constexpr Liter operator""_L (long double value)
constexpr Liter operator""_L (unsigned long long value)
constexpr Milliliter operator""_mL (long double value)
constexpr Milliliter operator""_mL (unsigned long long value)
constexpr Microliter operator""_uL (long double value)
constexpr Microliter operator""_uL (unsigned long long value)
constexpr Centiliter operator""_cL (long double value)
constexpr Centiliter operator""_cL (unsigned long long value)
constexpr Deciliter operator""_dL (long double value)
constexpr Deciliter operator""_dL (unsigned long long value)
constexpr UsGallon operator""_gal (long double value)
constexpr UsGallon operator""_gal (unsigned long long value)
constexpr UsFluidOunce operator""_fl_oz (long double value)
constexpr UsFluidOunce operator""_fl_oz (unsigned long long value)
constexpr MeterPerSecondSquared operator""_m_per_s (long double value)
constexpr MeterPerSecondSquared operator""_m_per_s (unsigned long long value)
constexpr Newton operator""_N (long double value)
constexpr Newton operator""_N (unsigned long long value)
constexpr Micronewton operator""_uN (long double value)
constexpr Micronewton operator""_uN (unsigned long long value)
constexpr Millinewton operator""_mN (long double value)
constexpr Millinewton operator""_mN (unsigned long long value)
constexpr Kilonewton operator""_kN (long double value)
constexpr Kilonewton operator""_kN (unsigned long long value)
constexpr Meganewton operator""_MN (long double value)
constexpr Meganewton operator""_MN (unsigned long long value)
constexpr Giganewton operator""_GN (long double value)
constexpr Giganewton operator""_GN (unsigned long long value)
constexpr Dyne operator""_dyn (long double value)
constexpr Dyne operator""_dyn (unsigned long long value)
constexpr PoundForce operator""_lbf (long double value)
constexpr PoundForce operator""_lbf (unsigned long long value)
constexpr Joule operator""_J (long double value)
constexpr Joule operator""_J (unsigned long long value)
constexpr Picojoule operator""_pJ (long double value)
constexpr Picojoule operator""_pJ (unsigned long long value)
constexpr Nanojoule operator""_nJ (long double value)
constexpr Nanojoule operator""_nJ (unsigned long long value)
constexpr Microjoule operator""_uJ (long double value)
constexpr Microjoule operator""_uJ (unsigned long long value)
constexpr Millijoule operator""_mJ (long double value)
constexpr Millijoule operator""_mJ (unsigned long long value)
constexpr Kilojoule operator""_kJ (long double value)
constexpr Kilojoule operator""_kJ (unsigned long long value)
constexpr Megajoule operator""_MJ (long double value)
constexpr Megajoule operator""_MJ (unsigned long long value)
constexpr Gigajoule operator""_GJ (long double value)
constexpr Gigajoule operator""_GJ (unsigned long long value)
constexpr Terajoule operator""_TJ (long double value)
constexpr Terajoule operator""_TJ (unsigned long long value)
constexpr WattHour operator""_Wh (long double value)
constexpr WattHour operator""_Wh (unsigned long long value)
constexpr KilowattHour operator""_kWh (long double value)
constexpr KilowattHour operator""_kWh (unsigned long long value)
constexpr Erg operator""_erg (long double value)
constexpr Erg operator""_erg (unsigned long long value)
constexpr Electronvolt operator""_eV (long double value)
constexpr Electronvolt operator""_eV (unsigned long long value)
constexpr Kiloelectronvolt operator""_keV (long double value)
constexpr Kiloelectronvolt operator""_keV (unsigned long long value)
constexpr Megaelectronvolt operator""_MeV (long double value)
constexpr Megaelectronvolt operator""_MeV (unsigned long long value)
constexpr Calorie operator""_cal (long double value)
constexpr Calorie operator""_cal (unsigned long long value)
constexpr Kilocalorie operator""_kcal (long double value)
constexpr Kilocalorie operator""_kcal (unsigned long long value)
constexpr BritishThermalUnit operator""_BTU (long double value)
constexpr BritishThermalUnit operator""_BTU (unsigned long long value)
constexpr Therm operator""_therm (long double value)
constexpr Therm operator""_therm (unsigned long long value)
constexpr Pascal operator""_Pa (long double value)
constexpr Pascal operator""_Pa (unsigned long long value)
constexpr Millipascal operator""_mPa (long double value)
constexpr Millipascal operator""_mPa (unsigned long long value)
constexpr Hectopascal operator""_hPa (long double value)
constexpr Hectopascal operator""_hPa (unsigned long long value)
constexpr Kilopascal operator""_kPa (long double value)
constexpr Kilopascal operator""_kPa (unsigned long long value)
constexpr Megapascal operator""_MPa (long double value)
constexpr Megapascal operator""_MPa (unsigned long long value)
constexpr Gigapascal operator""_GPa (long double value)
constexpr Gigapascal operator""_GPa (unsigned long long value)
constexpr Bar operator""_bar (long double value)
constexpr Bar operator""_bar (unsigned long long value)
constexpr Atmosphere operator""_atm (long double value)
constexpr Atmosphere operator""_atm (unsigned long long value)
constexpr Torr operator""_Torr (long double value)
constexpr Torr operator""_Torr (unsigned long long value)
constexpr MillimeterOfMercury operator""_mmHg (long double value)
constexpr MillimeterOfMercury operator""_mmHg (unsigned long long value)
constexpr PoundPerSquareInch operator""_psi (long double value)
constexpr PoundPerSquareInch operator""_psi (unsigned long long value)
constexpr InchOfMercury operator""_inHg (long double value)
constexpr InchOfMercury operator""_inHg (unsigned long long value)
constexpr Kelvin operator""_K (long double value)
constexpr Kelvin operator""_K (unsigned long long value)
constexpr Rankine operator""_degR (long double value)
constexpr Rankine operator""_degR (unsigned long long value)
constexpr WattPerSquareMeterSteradian operator""_Wmsr (long double value)
constexpr WattPerSquareMeterSteradian operator""_Wmsr (unsigned long long value)
constexpr ErgPerSecondSquareCentimeterSteradian operator""_ergscmsr (long double value)
constexpr ErgPerSecondSquareCentimeterSteradian operator""_ergscmsr (unsigned long long value)
constexpr WattPerSquareMeterSteradianMeter operator""_Wmsrm (long double value)
constexpr WattPerSquareMeterSteradianMeter operator""_Wmsrm (unsigned long long value)
constexpr WattPerSquareMeterSteradianNanometer operator""_Wmsrnm (long double value)
constexpr WattPerSquareMeterSteradianNanometer operator""_Wmsrnm (unsigned long long value)
constexpr PhotonPerSquareMeterSecondSteradian operator""_phmssr (long double value)
constexpr PhotonPerSquareMeterSecondSteradian operator""_phmssr (unsigned long long value)
constexpr PhotonPerSquareCentimeterSecondSteradian operator""_phcmssr (long double value)
constexpr PhotonPerSquareCentimeterSecondSteradian operator""_phcmssr (unsigned long long value)
constexpr PhotonPerSquareCentimeterNanosecondSteradian operator""_phcmnssr (long double value)
constexpr PhotonPerSquareCentimeterNanosecondSteradian operator""_phcmnssr (unsigned long long value)
constexpr PhotonPerSquareMeterSecondSteradianMeter operator""_phmssrm (long double value)
constexpr PhotonPerSquareMeterSecondSteradianMeter operator""_phmssrm (unsigned long long value)
constexpr PhotonPerSquareCentimeterSecondSteradianNanometer operator""_phcmssrnm (long double value)
constexpr PhotonPerSquareCentimeterSecondSteradianNanometer operator""_phcmssrnm (unsigned long long value)
constexpr PhotonPerSquareCentimeterNanosecondSteradianNanometer operator""_phcmnssrnm (long double value)
constexpr PhotonPerSquareCentimeterNanosecondSteradianNanometer operator""_phcmnssrnm (unsigned long long value)
constexpr S10 operator""_S10 (long double value)
constexpr S10 operator""_S10 (unsigned long long value)
constexpr Candela operator""_cd (long double value)
constexpr Candela operator""_cd (unsigned long long value)
constexpr Lumen operator""_lm (long double value)
constexpr Lumen operator""_lm (unsigned long long value)
constexpr Millilumen operator""_mlm (long double value)
constexpr Millilumen operator""_mlm (unsigned long long value)
constexpr Kilolumen operator""_klm (long double value)
constexpr Kilolumen operator""_klm (unsigned long long value)
constexpr Lux operator""_lx (long double value)
constexpr Lux operator""_lx (unsigned long long value)
constexpr Millilux operator""_mlx (long double value)
constexpr Millilux operator""_mlx (unsigned long long value)
constexpr Kilolux operator""_klx (long double value)
constexpr Kilolux operator""_klx (unsigned long long value)
constexpr Hertz operator""_Hz (long double value)
constexpr Hertz operator""_Hz (unsigned long long value)
constexpr Millihertz operator""_mHz (long double value)
constexpr Millihertz operator""_mHz (unsigned long long value)
constexpr Kilohertz operator""_kHz (long double value)
constexpr Kilohertz operator""_kHz (unsigned long long value)
constexpr Megahertz operator""_MHz (long double value)
constexpr Megahertz operator""_MHz (unsigned long long value)
constexpr Gigahertz operator""_GHz (long double value)
constexpr Gigahertz operator""_GHz (unsigned long long value)
constexpr Terahertz operator""_THz (long double value)
constexpr Terahertz operator""_THz (unsigned long long value)
constexpr Mole operator""_mol (long double value)
constexpr Mole operator""_mol (unsigned long long value)
constexpr Nanomole operator""_nmol (long double value)
constexpr Nanomole operator""_nmol (unsigned long long value)
constexpr Micromole operator""_umol (long double value)
constexpr Micromole operator""_umol (unsigned long long value)
constexpr Millimole operator""_mmol (long double value)
constexpr Millimole operator""_mmol (unsigned long long value)
constexpr Kilomole operator""_kmol (long double value)
constexpr Kilomole operator""_kmol (unsigned long long value)
constexpr Ampere operator""_A (long double value)
constexpr Ampere operator""_A (unsigned long long value)
constexpr Microampere operator""_uA (long double value)
constexpr Microampere operator""_uA (unsigned long long value)
constexpr Milliampere operator""_mA (long double value)
constexpr Milliampere operator""_mA (unsigned long long value)
constexpr Kiloampere operator""_kA (long double value)
constexpr Kiloampere operator""_kA (unsigned long long value)
constexpr Coulomb operator""_C (long double value)
constexpr Coulomb operator""_C (unsigned long long value)
constexpr Millicoulomb operator""_mC (long double value)
constexpr Millicoulomb operator""_mC (unsigned long long value)
constexpr Microcoulomb operator""_uC (long double value)
constexpr Microcoulomb operator""_uC (unsigned long long value)
constexpr Kilocoulomb operator""_kC (long double value)
constexpr Kilocoulomb operator""_kC (unsigned long long value)
constexpr Volt operator""_V (long double value)
constexpr Volt operator""_V (unsigned long long value)
constexpr Microvolt operator""_uV (long double value)
constexpr Microvolt operator""_uV (unsigned long long value)
constexpr Millivolt operator""_mV (long double value)
constexpr Millivolt operator""_mV (unsigned long long value)
constexpr Kilovolt operator""_kV (long double value)
constexpr Kilovolt operator""_kV (unsigned long long value)
constexpr Megavolt operator""_MV (long double value)
constexpr Megavolt operator""_MV (unsigned long long value)
constexpr Kilohm operator""_k (long double value)
constexpr Kilohm operator""_k (unsigned long long value)
constexpr Megaohm operator""_M (long double value)
constexpr Megaohm operator""_M (unsigned long long value)
constexpr Farad operator""_F (long double value)
constexpr Farad operator""_F (unsigned long long value)
constexpr Picofarad operator""_pF (long double value)
constexpr Picofarad operator""_pF (unsigned long long value)
constexpr Nanofarad operator""_nF (long double value)
constexpr Nanofarad operator""_nF (unsigned long long value)
constexpr Microfarad operator""_uF (long double value)
constexpr Microfarad operator""_uF (unsigned long long value)
constexpr Millifarad operator""_mF (long double value)
constexpr Millifarad operator""_mF (unsigned long long value)
constexpr Henry operator""_H (long double value)
constexpr Henry operator""_H (unsigned long long value)
constexpr Microhenry operator""_uH (long double value)
constexpr Microhenry operator""_uH (unsigned long long value)
constexpr Millihenry operator""_mH (long double value)
constexpr Millihenry operator""_mH (unsigned long long value)
constexpr Weber operator""_Wb (long double value)
constexpr Weber operator""_Wb (unsigned long long value)
constexpr Milliweber operator""_mWb (long double value)
constexpr Milliweber operator""_mWb (unsigned long long value)
constexpr Tesla operator""_T (long double value)
constexpr Tesla operator""_T (unsigned long long value)
constexpr Millitesla operator""_mT (long double value)
constexpr Millitesla operator""_mT (unsigned long long value)
constexpr Microtesla operator""_uT (long double value)
constexpr Microtesla operator""_uT (unsigned long long value)
constexpr KilogramPerCubicMeter operator""_kg_per_m (long double value)
constexpr KilogramPerCubicMeter operator""_kg_per_m (unsigned long long value)
constexpr GramPerCubicCentimeter operator""_g_per_cm (long double value)
constexpr GramPerCubicCentimeter operator""_g_per_cm (unsigned long long value)
constexpr GramPerMilliliter operator""_g_per_mL (long double value)
constexpr GramPerMilliliter operator""_g_per_mL (unsigned long long value)
constexpr PoundPerCubicFoot operator""_lb_per_ft (long double value)
constexpr PoundPerCubicFoot operator""_lb_per_ft (unsigned long long value)
template<typename U>
Ratio ratio_to (const Quantity< U > &a, const Quantity< U > &b)
 Same-unit division returning a typed dimensionless Ratio.
template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Ratio exp (const Quantity< U > &q)
template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Ratio ln (const Quantity< U > &q)
template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Ratio powi (const Quantity< U > &q, int n)
template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Ratio powf (const Quantity< U > &q, const Ratio &exponent)
template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Radian asin_angle (const Quantity< U > &q)
template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Radian acos_angle (const Quantity< U > &q)
template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Radian atan_angle (const Quantity< U > &q)
uint32_t abi_version ()
 Get the ABI version of the underlying qtty-ffi library.
template<typename LengthTag, typename TimeTag>
Quantity< CompoundTag< LengthTag, TimeTag > > operator/ (const Quantity< LengthTag > &length, const Quantity< TimeTag > &time)

Variables

template<class Tag>
constexpr bool is_angular_v = AngularTraits<Tag>::is_angular
template<typename T>
constexpr bool is_compound_v = is_compound<T>::value
template<typename Tag>
constexpr bool is_dimensionless_v = is_dimensionless_tag<Tag>()
struct { 
   int   qtty::major = 0 
   int   qtty::minor = 4 
   int   qtty::patch = 5 
} version
 Library version information.

Typedef Documentation

◆ Acre

Definition at line 88 of file area.hpp.

◆ Airmass

Definition at line 55 of file dimensionless.hpp.

◆ Albedo

Definition at line 57 of file dimensionless.hpp.

◆ Ampere

Definition at line 36 of file current.hpp.

◆ Arcminute

Definition at line 77 of file angular.hpp.

◆ Arcsecond

Definition at line 76 of file angular.hpp.

◆ Are

Definition at line 83 of file area.hpp.

◆ AstronomicalUnit

Definition at line 337 of file length.hpp.

◆ Atmosphere

Definition at line 91 of file pressure.hpp.

◆ AtomicMassUnit

Definition at line 227 of file mass.hpp.

◆ Attogram

Definition at line 200 of file mass.hpp.

◆ Attometer

Definition at line 315 of file length.hpp.

◆ Attosecond

Definition at line 186 of file time.hpp.

◆ Attowatt

Definition at line 158 of file power.hpp.

◆ Bar

Definition at line 90 of file pressure.hpp.

◆ BohrRadius

Definition at line 334 of file length.hpp.

◆ BritishThermalUnit

◆ Calorie

Definition at line 141 of file energy.hpp.

◆ Candela

Definition at line 18 of file luminous_intensity.hpp.

◆ Carat

Definition at line 225 of file mass.hpp.

◆ Centigram

Definition at line 206 of file mass.hpp.

◆ Centiliter

Definition at line 97 of file volume.hpp.

◆ Centimeter

Definition at line 321 of file length.hpp.

◆ Centisecond

Definition at line 192 of file time.hpp.

◆ Century

Definition at line 208 of file time.hpp.

◆ Chain

Definition at line 350 of file length.hpp.

◆ ClassicalElectronRadius

◆ Coulomb

Definition at line 36 of file charge.hpp.

◆ CubicCentimeter

Definition at line 92 of file volume.hpp.

◆ CubicFoot

Definition at line 100 of file volume.hpp.

◆ CubicInch

Definition at line 99 of file volume.hpp.

◆ CubicKilometer

Definition at line 91 of file volume.hpp.

◆ CubicMeter

Definition at line 90 of file volume.hpp.

◆ CubicMillimeter

Definition at line 93 of file volume.hpp.

◆ Day

Definition at line 203 of file time.hpp.

◆ Decade

Definition at line 207 of file time.hpp.

◆ Decagram

Definition at line 209 of file mass.hpp.

◆ Decameter

Definition at line 324 of file length.hpp.

◆ Decasecond

Definition at line 195 of file time.hpp.

◆ Decawatt

Definition at line 166 of file power.hpp.

◆ Decigram

Definition at line 207 of file mass.hpp.

◆ Deciliter

Definition at line 98 of file volume.hpp.

◆ Decimeter

Definition at line 322 of file length.hpp.

◆ Decisecond

Definition at line 193 of file time.hpp.

◆ Deciwatt

Definition at line 164 of file power.hpp.

◆ Degree

Definition at line 78 of file angular.hpp.

◆ Dyne

Definition at line 66 of file force.hpp.

◆ EarthEquatorialCircumference

◆ EarthMeridionalCircumference

◆ ElectronReducedComptonWavelength

◆ Electronvolt

Definition at line 138 of file energy.hpp.

◆ Erg

Definition at line 137 of file energy.hpp.

◆ ErgPerSecond

Definition at line 176 of file power.hpp.

◆ ErgPerSecondSquareCentimeterSteradian

◆ ErgPerSecondSquareCentimeterSteradianAngstrom

◆ Exagram

Definition at line 216 of file mass.hpp.

◆ Exameter

Definition at line 331 of file length.hpp.

◆ Exawatt

Definition at line 173 of file power.hpp.

◆ Farad

Definition at line 42 of file capacitance.hpp.

◆ Fathom

Definition at line 348 of file length.hpp.

◆ Femtogram

Definition at line 201 of file mass.hpp.

◆ Femtometer

Definition at line 316 of file length.hpp.

◆ Femtosecond

Definition at line 187 of file time.hpp.

◆ Femtowatt

Definition at line 159 of file power.hpp.

◆ Foot

Definition at line 344 of file length.hpp.

◆ Fortnight

Definition at line 205 of file time.hpp.

◆ Gigagram

Definition at line 213 of file mass.hpp.

◆ Gigahertz

Definition at line 52 of file frequency.hpp.

◆ Gigajoule

Definition at line 133 of file energy.hpp.

◆ Gigameter

Definition at line 328 of file length.hpp.

◆ Giganewton

Definition at line 65 of file force.hpp.

◆ Gigaparsec

Definition at line 342 of file length.hpp.

◆ Gigapascal

Definition at line 89 of file pressure.hpp.

◆ Gigasecond

Definition at line 199 of file time.hpp.

◆ Gigawatt

Definition at line 170 of file power.hpp.

◆ Gradian

Definition at line 79 of file angular.hpp.

◆ Grain

Definition at line 219 of file mass.hpp.

◆ Gram

Definition at line 208 of file mass.hpp.

◆ GramPerCubicCentimeter

◆ GramPerMilliliter

Definition at line 38 of file density.hpp.

◆ Hectare

Definition at line 82 of file area.hpp.

◆ Hectogram

Definition at line 210 of file mass.hpp.

◆ Hectometer

Definition at line 325 of file length.hpp.

◆ Hectopascal

Definition at line 86 of file pressure.hpp.

◆ Hectosecond

Definition at line 196 of file time.hpp.

◆ Hectowatt

Definition at line 167 of file power.hpp.

◆ Henry

Definition at line 30 of file inductance.hpp.

◆ Hertz

Definition at line 48 of file frequency.hpp.

◆ HorsepowerElectric

◆ HorsepowerMetric

Definition at line 177 of file power.hpp.

◆ Hour

Definition at line 202 of file time.hpp.

◆ HourAngle

Definition at line 81 of file angular.hpp.

◆ IlluminationFraction

◆ Inch

Definition at line 343 of file length.hpp.

◆ InchOfMercury

Definition at line 95 of file pressure.hpp.

◆ Joule

Definition at line 126 of file energy.hpp.

◆ JulianCentury

Definition at line 211 of file time.hpp.

◆ JulianYear

Definition at line 210 of file time.hpp.

◆ Kelvin

Definition at line 24 of file temperature.hpp.

◆ Kiloampere

Definition at line 39 of file current.hpp.

◆ Kilocalorie

Definition at line 142 of file energy.hpp.

◆ Kilocoulomb

Definition at line 39 of file charge.hpp.

◆ Kiloelectronvolt

Definition at line 139 of file energy.hpp.

◆ Kilogram

Definition at line 211 of file mass.hpp.

◆ KilogramPerCubicMeter

◆ Kilohertz

Definition at line 50 of file frequency.hpp.

◆ Kilohm

Definition at line 38 of file resistance.hpp.

◆ Kilojoule

Definition at line 131 of file energy.hpp.

◆ Kilolumen

Definition at line 32 of file luminous_flux.hpp.

◆ Kilolux

Definition at line 32 of file illuminance.hpp.

◆ Kilometer

Definition at line 326 of file length.hpp.

◆ KilometerPerHour

◆ KilometerPerMinute

◆ KilometerPerSecond

◆ Kilomole

Definition at line 46 of file amount.hpp.

◆ Kilonewton

Definition at line 63 of file force.hpp.

◆ Kiloparsec

Definition at line 340 of file length.hpp.

◆ Kilopascal

Definition at line 87 of file pressure.hpp.

◆ Kilosecond

Definition at line 197 of file time.hpp.

◆ Kilovolt

Definition at line 45 of file voltage.hpp.

◆ Kilowatt

Definition at line 168 of file power.hpp.

◆ KilowattHour

Definition at line 136 of file energy.hpp.

◆ LightYear

Definition at line 338 of file length.hpp.

◆ Link

Definition at line 347 of file length.hpp.

◆ Liter

Definition at line 94 of file volume.hpp.

◆ LongTon

Definition at line 224 of file mass.hpp.

◆ Lumen

Definition at line 30 of file luminous_flux.hpp.

◆ Lux

Definition at line 30 of file illuminance.hpp.

◆ Megaelectronvolt

Definition at line 140 of file energy.hpp.

◆ Megagram

Definition at line 212 of file mass.hpp.

◆ Megahertz

Definition at line 51 of file frequency.hpp.

◆ Megajoule

Definition at line 132 of file energy.hpp.

◆ Megameter

Definition at line 327 of file length.hpp.

◆ Meganewton

Definition at line 64 of file force.hpp.

◆ Megaohm

Definition at line 39 of file resistance.hpp.

◆ Megaparsec

Definition at line 341 of file length.hpp.

◆ Megapascal

Definition at line 88 of file pressure.hpp.

◆ Megasecond

Definition at line 198 of file time.hpp.

◆ Megavolt

Definition at line 46 of file voltage.hpp.

◆ Megawatt

Definition at line 169 of file power.hpp.

◆ Meter

Definition at line 323 of file length.hpp.

◆ MeterPerHour

Definition at line 116 of file velocity.hpp.

◆ MeterPerMinute

◆ MeterPerSecond

◆ MeterPerSecondSquared

◆ Microampere

Definition at line 37 of file current.hpp.

◆ MicroArcsecond

Definition at line 74 of file angular.hpp.

◆ Microcoulomb

Definition at line 38 of file charge.hpp.

◆ Microfarad

Definition at line 45 of file capacitance.hpp.

◆ Microgram

Definition at line 204 of file mass.hpp.

◆ Microhenry

Definition at line 31 of file inductance.hpp.

◆ Microjoule

Definition at line 129 of file energy.hpp.

◆ Microliter

Definition at line 96 of file volume.hpp.

◆ Micrometer

Definition at line 319 of file length.hpp.

◆ Micromole

Definition at line 44 of file amount.hpp.

◆ Micronewton

Definition at line 61 of file force.hpp.

◆ Microsecond

Definition at line 190 of file time.hpp.

◆ Microtesla

Definition at line 32 of file magnetic_flux_density.hpp.

◆ Microvolt

Definition at line 43 of file voltage.hpp.

◆ Microwatt

Definition at line 162 of file power.hpp.

◆ Mile

Definition at line 346 of file length.hpp.

◆ Millennium

Definition at line 209 of file time.hpp.

◆ Milliampere

Definition at line 38 of file current.hpp.

◆ MilliArcsecond

Definition at line 75 of file angular.hpp.

◆ Millicoulomb

Definition at line 37 of file charge.hpp.

◆ Millifarad

Definition at line 46 of file capacitance.hpp.

◆ Milligram

Definition at line 205 of file mass.hpp.

◆ Millihenry

Definition at line 32 of file inductance.hpp.

◆ Millihertz

Definition at line 49 of file frequency.hpp.

◆ Millijoule

Definition at line 130 of file energy.hpp.

◆ Milliliter

Definition at line 95 of file volume.hpp.

◆ Millilumen

Definition at line 31 of file luminous_flux.hpp.

◆ Millilux

Definition at line 31 of file illuminance.hpp.

◆ Millimeter

Definition at line 320 of file length.hpp.

◆ MillimeterOfMercury

◆ Millimole

Definition at line 45 of file amount.hpp.

◆ Millinewton

Definition at line 62 of file force.hpp.

◆ Milliohm

Definition at line 37 of file resistance.hpp.

◆ Millipascal

Definition at line 85 of file pressure.hpp.

◆ Milliradian

Definition at line 72 of file angular.hpp.

◆ Millisecond

Definition at line 191 of file time.hpp.

◆ Millitesla

Definition at line 31 of file magnetic_flux_density.hpp.

◆ Millivolt

Definition at line 44 of file voltage.hpp.

◆ Milliwatt

Definition at line 163 of file power.hpp.

◆ Milliweber

Definition at line 25 of file magnetic_flux.hpp.

◆ Minute

Definition at line 201 of file time.hpp.

◆ Mole

Definition at line 42 of file amount.hpp.

◆ Nanofarad

Definition at line 44 of file capacitance.hpp.

◆ Nanogram

Definition at line 203 of file mass.hpp.

◆ Nanojoule

Definition at line 128 of file energy.hpp.

◆ Nanometer

Definition at line 318 of file length.hpp.

◆ Nanomole

Definition at line 43 of file amount.hpp.

◆ Nanosecond

Definition at line 189 of file time.hpp.

◆ Nanowatt

Definition at line 161 of file power.hpp.

◆ NauticalMile

Definition at line 351 of file length.hpp.

◆ Newton

Definition at line 60 of file force.hpp.

◆ NominalEarthEquatorialRadius

◆ NominalEarthPolarRadius

◆ NominalEarthRadius

◆ NominalJupiterRadius

◆ NominalLunarDistance

◆ NominalLunarRadius

◆ NominalSolarDiameter

◆ NominalSolarRadius

◆ Ohm

Definition at line 36 of file resistance.hpp.

◆ OpticalDepth

Definition at line 54 of file dimensionless.hpp.

◆ Ounce

Definition at line 220 of file mass.hpp.

◆ Parsec

Definition at line 339 of file length.hpp.

◆ Pascal

Definition at line 84 of file pressure.hpp.

◆ Petagram

Definition at line 215 of file mass.hpp.

◆ Petameter

Definition at line 330 of file length.hpp.

◆ Petawatt

Definition at line 172 of file power.hpp.

◆ PhotonPerSquareCentimeterNanosecondSteradian

◆ PhotonPerSquareCentimeterNanosecondSteradianNanometer

◆ PhotonPerSquareCentimeterSecondSteradian

◆ PhotonPerSquareCentimeterSecondSteradianAngstrom

◆ PhotonPerSquareCentimeterSecondSteradianNanometer

◆ PhotonPerSquareMeterSecondSteradian

◆ PhotonPerSquareMeterSecondSteradianMeter

◆ Picofarad

Definition at line 43 of file capacitance.hpp.

◆ Picogram

Definition at line 202 of file mass.hpp.

◆ Picojoule

Definition at line 127 of file energy.hpp.

◆ Picometer

Definition at line 317 of file length.hpp.

◆ Picosecond

Definition at line 188 of file time.hpp.

◆ Picowatt

Definition at line 160 of file power.hpp.

◆ PlanckLength

Definition at line 312 of file length.hpp.

◆ Pound

Definition at line 221 of file mass.hpp.

◆ PoundForce

Definition at line 67 of file force.hpp.

◆ PoundPerCubicFoot

Definition at line 39 of file density.hpp.

◆ PoundPerSquareInch

◆ Radian

Definition at line 73 of file angular.hpp.

◆ Rankine

Definition at line 25 of file temperature.hpp.

◆ Ratio

Definition at line 60 of file dimensionless.hpp.

◆ Refractivity

Definition at line 59 of file dimensionless.hpp.

◆ Rod

Definition at line 349 of file length.hpp.

◆ S10

Definition at line 18 of file inverse_solid_angle.hpp.

◆ Second

Definition at line 194 of file time.hpp.

◆ ShortTon

Definition at line 223 of file mass.hpp.

◆ SiderealDay

Definition at line 212 of file time.hpp.

◆ SiderealYear

Definition at line 214 of file time.hpp.

◆ SolarLuminosity

Definition at line 179 of file power.hpp.

◆ SolarMass

Definition at line 228 of file mass.hpp.

◆ SquareArcminute

Definition at line 45 of file solid_angle.hpp.

◆ SquareArcsecond

Definition at line 46 of file solid_angle.hpp.

◆ SquareCentimeter

Definition at line 80 of file area.hpp.

◆ SquareDegree

Definition at line 42 of file solid_angle.hpp.

◆ SquareFoot

Definition at line 85 of file area.hpp.

◆ SquareInch

Definition at line 84 of file area.hpp.

◆ SquareKilometer

Definition at line 79 of file area.hpp.

◆ SquareMeter

Definition at line 78 of file area.hpp.

◆ SquareMile

Definition at line 87 of file area.hpp.

◆ SquareMillimeter

Definition at line 81 of file area.hpp.

◆ SquareMilliradian

◆ SquareYard

Definition at line 86 of file area.hpp.

◆ StandardGravity

◆ Steradian

Definition at line 43 of file solid_angle.hpp.

◆ Stone

Definition at line 222 of file mass.hpp.

◆ SynodicMonth

Definition at line 213 of file time.hpp.

◆ Teragram

Definition at line 214 of file mass.hpp.

◆ Terahertz

Definition at line 53 of file frequency.hpp.

◆ Terajoule

Definition at line 134 of file energy.hpp.

◆ Terameter

Definition at line 329 of file length.hpp.

◆ Terasecond

Definition at line 200 of file time.hpp.

◆ Terawatt

Definition at line 171 of file power.hpp.

◆ Tesla

Definition at line 30 of file magnetic_flux_density.hpp.

◆ Therm

Definition at line 144 of file energy.hpp.

◆ Tonne

Definition at line 226 of file mass.hpp.

◆ Torr

Definition at line 92 of file pressure.hpp.

◆ Transmittance

Definition at line 56 of file dimensionless.hpp.

◆ Turn

Definition at line 80 of file angular.hpp.

◆ UsFluidOunce

Definition at line 102 of file volume.hpp.

◆ UsGallon

Definition at line 101 of file volume.hpp.

◆ Velocity

template<typename LengthUnit, typename TimeUnit>
using qtty::Velocity = Quantity<CompoundTag<typename LengthUnit::unit_tag, typename TimeUnit::unit_tag>>

Definition at line 31 of file velocity.hpp.

◆ Volt

Definition at line 42 of file voltage.hpp.

◆ Watt

Definition at line 165 of file power.hpp.

◆ WattHour

Definition at line 135 of file energy.hpp.

◆ WattPerSquareMeterSteradian

◆ WattPerSquareMeterSteradianMeter

◆ WattPerSquareMeterSteradianNanometer

◆ Weber

Definition at line 24 of file magnetic_flux.hpp.

◆ Week

Definition at line 204 of file time.hpp.

◆ Yard

Definition at line 345 of file length.hpp.

◆ Year

Definition at line 206 of file time.hpp.

◆ Yoctogram

Definition at line 198 of file mass.hpp.

◆ Yoctometer

Definition at line 313 of file length.hpp.

◆ Yoctowatt

Definition at line 156 of file power.hpp.

◆ Yottagram

Definition at line 218 of file mass.hpp.

◆ Yottameter

Definition at line 333 of file length.hpp.

◆ Yottawatt

Definition at line 175 of file power.hpp.

◆ Zeptogram

Definition at line 199 of file mass.hpp.

◆ Zeptometer

Definition at line 314 of file length.hpp.

◆ Zeptowatt

Definition at line 157 of file power.hpp.

◆ Zettagram

Definition at line 217 of file mass.hpp.

◆ Zettameter

Definition at line 332 of file length.hpp.

◆ Zettawatt

Definition at line 174 of file power.hpp.

Function Documentation

◆ abi_version()

uint32_t qtty::abi_version ( )
inline

Get the ABI version of the underlying qtty-ffi library.

Returns
ABI version number

Definition at line 111 of file qtty.hpp.

◆ abs_separation()

template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > qtty::abs_separation ( Quantity< Tag > a,
Quantity< Tag > b )
inline

Absolute smallest angular separation (magnitude only).

Definition at line 134 of file angles.hpp.

References signed_separation().

◆ acos_angle()

template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Radian qtty::acos_angle ( const Quantity< U > & q)

Definition at line 77 of file math.hpp.

References qtty::Quantity< UnitTag >::value().

◆ angular_full_turn()

template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
double qtty::angular_full_turn ( )
inline

Magnitude of one full revolution expressed in the angular unit Tag.

Definition at line 77 of file angles.hpp.

References qtty::Quantity< UnitTag >::value().

Referenced by wrap_pos(), wrap_quarter_fold(), wrap_signed(), and wrap_signed_lo().

◆ asin_angle()

template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Radian qtty::asin_angle ( const Quantity< U > & q)

Definition at line 72 of file math.hpp.

References qtty::Quantity< UnitTag >::value().

◆ atan_angle()

template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Radian qtty::atan_angle ( const Quantity< U > & q)

Definition at line 82 of file math.hpp.

References qtty::Quantity< UnitTag >::value().

◆ check_status()

void qtty::check_status ( QttyStatus status,
const char * operation )
inline

Convert qtty FFI status codes into typed C++ exceptions.

Parameters
statusStatus code returned by a qtty FFI function.
operationHuman-readable operation label for error context.
Exceptions
QttyExceptionand derived exception types on failure statuses.

Definition at line 91 of file ffi_core.hpp.

Referenced by qtty::Quantity< CompoundTag< KilometerTag, SecondTag > >::format(), qtty::derived_serialization::from_json(), qtty::serialization::from_json(), qtty::serialization::from_json_value(), qtty::Quantity< CompoundTag< KilometerTag, SecondTag > >::to(), qtty::derived_serialization::to_json(), qtty::serialization::to_json(), and qtty::serialization::to_json_value().

◆ cos()

template<class Tag>
auto qtty::cos ( Quantity< Tag > a)
inline

Definition at line 56 of file angles.hpp.

References is_angular_v, and qtty::Quantity< UnitTag >::value().

◆ exp()

template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Ratio qtty::exp ( const Quantity< U > & q)

Definition at line 52 of file math.hpp.

References qtty::Quantity< UnitTag >::value().

◆ is_dimensionless_tag()

template<typename Tag>
bool qtty::is_dimensionless_tag ( )
constexpr

Definition at line 144 of file ffi_core.hpp.

◆ ln()

template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Ratio qtty::ln ( const Quantity< U > & q)

Definition at line 57 of file math.hpp.

References qtty::Quantity< UnitTag >::value().

◆ normalize()

template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > qtty::normalize ( Quantity< Tag > a)
inline

Alias of wrap_pos: normalize into [0, FULL_TURN).

Definition at line 90 of file angles.hpp.

References wrap_pos().

◆ operator/()

template<typename LengthTag, typename TimeTag>
Quantity< CompoundTag< LengthTag, TimeTag > > qtty::operator/ ( const Quantity< LengthTag > & length,
const Quantity< TimeTag > & time )

Definition at line 49 of file velocity.hpp.

References qtty::Quantity< UnitTag >::value().

◆ operator<<()

template<typename UnitTag>
std::ostream & qtty::operator<< ( std::ostream & os,
const Quantity< UnitTag > & q )

◆ powf()

template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Ratio qtty::powf ( const Quantity< U > & q,
const Ratio & exponent )

Definition at line 67 of file math.hpp.

References qtty::Quantity< UnitTag >::value().

◆ powi()

template<typename U, std::enable_if_t< is_dimensionless_v< U >, int > = 0>
Ratio qtty::powi ( const Quantity< U > & q,
int n )

Definition at line 62 of file math.hpp.

References qtty::Quantity< UnitTag >::value().

◆ QTTY_MARK_ANGULAR() [1/10]

qtty::QTTY_MARK_ANGULAR ( ArcminuteTag )

◆ QTTY_MARK_ANGULAR() [2/10]

qtty::QTTY_MARK_ANGULAR ( ArcsecondTag )

◆ QTTY_MARK_ANGULAR() [3/10]

qtty::QTTY_MARK_ANGULAR ( DegreeTag )

◆ QTTY_MARK_ANGULAR() [4/10]

qtty::QTTY_MARK_ANGULAR ( GradianTag )

◆ QTTY_MARK_ANGULAR() [5/10]

qtty::QTTY_MARK_ANGULAR ( HourAngleTag )

◆ QTTY_MARK_ANGULAR() [6/10]

qtty::QTTY_MARK_ANGULAR ( MicroArcsecondTag )

◆ QTTY_MARK_ANGULAR() [7/10]

qtty::QTTY_MARK_ANGULAR ( MilliArcsecondTag )

◆ QTTY_MARK_ANGULAR() [8/10]

qtty::QTTY_MARK_ANGULAR ( MilliradianTag )

◆ QTTY_MARK_ANGULAR() [9/10]

qtty::QTTY_MARK_ANGULAR ( RadianTag )

◆ QTTY_MARK_ANGULAR() [10/10]

qtty::QTTY_MARK_ANGULAR ( TurnTag )

◆ ratio_to()

template<typename U>
Ratio qtty::ratio_to ( const Quantity< U > & a,
const Quantity< U > & b )

Same-unit division returning a typed dimensionless Ratio.

Mirrors Rust Quantity::ratio_to. Unlike operator/ (which returns a raw scalar for same-unit division), this wraps the result in Ratio.

Definition at line 45 of file math.hpp.

References qtty::Quantity< UnitTag >::value().

◆ signed_separation()

template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > qtty::signed_separation ( Quantity< Tag > a,
Quantity< Tag > b )
inline

Signed smallest angular separation in (-HALF_TURN, HALF_TURN].

Definition at line 128 of file angles.hpp.

References wrap_signed().

Referenced by abs_separation().

◆ sin()

template<class Tag>
auto qtty::sin ( Quantity< Tag > a)
inline

Definition at line 51 of file angles.hpp.

References is_angular_v, and qtty::Quantity< UnitTag >::value().

◆ tan()

template<class Tag>
auto qtty::tan ( Quantity< Tag > a)
inline

Definition at line 61 of file angles.hpp.

References is_angular_v, and qtty::Quantity< UnitTag >::value().

◆ wrap_pos()

template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > qtty::wrap_pos ( Quantity< Tag > a)
inline

Wrap into the canonical positive range [0, FULL_TURN).

Definition at line 84 of file angles.hpp.

References angular_full_turn(), qtty::detail::rem_euclid(), and qtty::Quantity< UnitTag >::value().

Referenced by normalize().

◆ wrap_quarter_fold()

template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > qtty::wrap_quarter_fold ( Quantity< Tag > a)
inline

"Latitude fold": map into [-QUARTER_TURN, +QUARTER_TURN].

Definition at line 118 of file angles.hpp.

References angular_full_turn(), qtty::detail::rem_euclid(), and qtty::Quantity< UnitTag >::value().

◆ wrap_signed()

template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > qtty::wrap_signed ( Quantity< Tag > a)
inline

Wrap into the signed range (-HALF_TURN, HALF_TURN].

Definition at line 96 of file angles.hpp.

References angular_full_turn(), qtty::detail::rem_euclid(), and qtty::Quantity< UnitTag >::value().

Referenced by signed_separation(), and wrap_signed_lo().

◆ wrap_signed_lo()

template<class Tag, class = std::enable_if_t<is_angular_v<Tag>>>
Quantity< Tag > qtty::wrap_signed_lo ( Quantity< Tag > a)
inline

Wrap into the alternate signed range [-HALF_TURN, HALF_TURN).

Definition at line 106 of file angles.hpp.

References angular_full_turn(), and wrap_signed().

Variable Documentation

◆ is_angular_v

template<class Tag>
bool qtty::is_angular_v = AngularTraits<Tag>::is_angular
inlineconstexpr

Definition at line 49 of file angles.hpp.

Referenced by cos(), sin(), and tan().

◆ is_compound_v

template<typename T>
bool qtty::is_compound_v = is_compound<T>::value
inlineconstexpr

◆ is_dimensionless_v

template<typename Tag>
bool qtty::is_dimensionless_v = is_dimensionless_tag<Tag>()
inlineconstexpr

Definition at line 151 of file ffi_core.hpp.

◆ major

int qtty::major = 0

Definition at line 102 of file qtty.hpp.

◆ minor

int qtty::minor = 4

Definition at line 103 of file qtty.hpp.

◆ patch

int qtty::patch = 5

Definition at line 104 of file qtty.hpp.

◆ [struct]

struct { ... } qtty::version

Library version information.