units
Use physical dimensions at compile-time or run-time.
Typedefs | Functions | Variables
vnix::units::dbl Namespace Reference

Double-precision dimensions and units. More...

Typedefs

using dyndim = basic_dyndim< double >
 Type of dimensioned value whose dimension is not known at compile-time. More...
 
using length = basic_statdim< length_dim.encode(), double >
 Type for variable of dimension length. More...
 
using mass = basic_statdim< mass_dim.encode(), double >
 Type for variable of dimension mass. More...
 
using time = basic_statdim< time_dim.encode(), double >
 Type for variable of dimension time. More...
 
using charge = basic_statdim< charge_dim.encode(), double >
 Type for variable of dimension charge. More...
 
using temperature = basic_statdim< temperature_dim.encode(), double >
 Type for variable of dimension temperature. More...
 
using speed = decltype(m/s)
 
using acceleration = decltype(m/s/s)
 
using momentum = decltype(g *m/s)
 
using force = decltype(N/1)
 
using current = decltype(C/s)
 
using energy = decltype(J/1)
 
using power = decltype(W/1)
 
using area = decltype(m *m)
 
using volume = decltype(m *m *m)
 
using pressure = decltype(N/m/m)
 

Functions

constexpr auto operator""_m (long double v)
 Interpret a number, suffixed with '_m', as a (literal) number of meters. More...
 
constexpr auto operator""_cm (long double v)
 Interpret a number, suffixed with '_cm', as a (literal) number of centimeters. More...
 
constexpr auto operator""_mm (long double v)
 Interpret a number, suffixed with '_mm', as a (literal) number of millimeters. More...
 
constexpr auto operator""_mum (long double v)
 Interpret a number, suffixed with '_mum', as a (literal) number of micrometers. More...
 
constexpr auto operator""_nm (long double v)
 Interpret a number, suffixed with '_nm', as a (literal) number of nanometers. More...
 
constexpr auto operator""_pm (long double v)
 Interpret a number, suffixed with '_pm', as a (literal) number of picometers. More...
 
constexpr auto operator""_fm (long double v)
 Interpret a number, suffixed with '_fm', as a (literal) number of femtometers. More...
 
constexpr auto operator""_km (long double v)
 Interpret a number, suffixed with '_km', as a (literal) number of kilometers. More...
 
constexpr auto operator""_Mm (long double v)
 Interpret a number, suffixed with '_Mm', as a (literal) number of megameters. More...
 
constexpr auto operator""_g (long double v)
 Interpret a number, suffixed with '_g', as a (literal) number of grams. More...
 
constexpr auto operator""_mg (long double v)
 Interpret a number, suffixed with '_mg', as a (literal) number of milligrams. More...
 
constexpr auto operator""_mug (long double v)
 Interpret a number, suffixed with '_mug', as a (literal) number of micrograms. More...
 
constexpr auto operator""_ng (long double v)
 Interpret a number, suffixed with '_ng', as a (literal) number of nanograms. More...
 
constexpr auto operator""_pg (long double v)
 Interpret a number, suffixed with '_pg', as a (literal) number of picograms. More...
 
constexpr auto operator""_kg (long double v)
 Interpret a number, suffixed with '_kg', as a (literal) number of kilograms. More...
 
constexpr auto operator""_Mg (long double v)
 Interpret a number, suffixed with '_Mg', as a (literal) number of megagrams. More...
 
constexpr auto operator""_s (long double v)
 Interpret a number, suffixed with '_s', as a (literal) number of seconds. More...
 
constexpr auto operator""_ms (long double v)
 Interpret a number, suffixed with '_ms', as a (literal) number of milliseconds. More...
 
constexpr auto operator""_mus (long double v)
 Interpret a number, suffixed with '_mus', as a (literal) number of microseconds. More...
 
constexpr auto operator""_ns (long double v)
 Interpret a number, suffixed with '_ns', as a (literal) number of nanoseconds. More...
 
constexpr auto operator""_ps (long double v)
 Interpret a number, suffixed with '_ps', as a (literal) number of picoseconds. More...
 
constexpr auto operator""_fs (long double v)
 Interpret a number, suffixed with '_fs', as a (literal) number of femtoseconds. More...
 
constexpr auto operator""_C (long double v)
 Interpret a number, suffixed with '_C', as a (literal) number of coulombs. More...
 
constexpr auto operator""_mC (long double v)
 Interpret a number, suffixed with '_mC', as a (literal) number of millicoulombs. More...
 
constexpr auto operator""_muC (long double v)
 Interpret a number, suffixed with '_muC', as a (literal) number of microcoulombs. More...
 
constexpr auto operator""_nC (long double v)
 Interpret a number, suffixed with '_nC', as a (literal) number of nanocoulombs. More...
 
constexpr auto operator""_pC (long double v)
 Interpret a number, suffixed with '_pC', as a (literal) number of picocoulombs. More...
 
constexpr auto operator""_K (long double v)
 Interpret a number, suffixed with '_K', as a (literal) number of kelvins. More...
 
constexpr auto operator""_mK (long double v)
 Interpret a number, suffixed with '_mK', as a (literal) number of millikelvins. More...
 
constexpr auto operator""_muK (long double v)
 Interpret a number, suffixed with '_muK', as a (literal) number of microkelvins. More...
 
constexpr auto operator""_nK (long double v)
 Interpret a number, suffixed with '_nK', as a (literal) number of nanokelvins. More...
 
constexpr auto operator""_ft (long double v)
 Interpret a number, suffixed with '_ft', as a (literal) number of feet. More...
 
constexpr auto operator""_kft (long double v)
 Interpret a number, suffixed with '_kft', as a (literal) number of kilofeet. More...
 
constexpr auto operator""_in (long double v)
 Interpret a number, suffixed with '_in', as a (literal) number of inches. More...
 
constexpr auto operator""_yd (long double v)
 Interpret a number, suffixed with '_yd', as a (literal) number of yards. More...
 
constexpr auto operator""_mi (long double v)
 Interpret a number, suffixed with '_mi', as a (literal) number of miles. More...
 
constexpr auto operator""_N (long double v)
 Interpret a number, suffixed with '_N', as a (literal) number of newtons. More...
 
constexpr auto operator""_mN (long double v)
 Interpret a number, suffixed with '_mN', as a (literal) number of millinewtons. More...
 
constexpr auto operator""_muN (long double v)
 Interpret a number, suffixed with '_muN', as a (literal) number of micronewtons. More...
 
constexpr auto operator""_kN (long double v)
 Interpret a number, suffixed with '_kN', as a (literal) number of kilonewtons. More...
 
constexpr auto operator""_MN (long double v)
 Interpret a number, suffixed with '_MN', as a (literal) number of meganewtons. More...
 
constexpr auto operator""_dyn (long double v)
 Interpret a number, suffixed with '_dyn', as a (literal) number of dynes. More...
 
constexpr auto operator""_J (long double v)
 Interpret a number, suffixed with '_J', as a (literal) number of joules. More...
 
constexpr auto operator""_mJ (long double v)
 Interpret a number, suffixed with '_mJ', as a (literal) number of millijoules. More...
 
constexpr auto operator""_muJ (long double v)
 Interpret a number, suffixed with '_muJ', as a (literal) number of microjoules. More...
 
constexpr auto operator""_kJ (long double v)
 Interpret a number, suffixed with '_kJ', as a (literal) number of kilojoules. More...
 
constexpr auto operator""_MJ (long double v)
 Interpret a number, suffixed with '_MJ', as a (literal) number of megajoules. More...
 
constexpr auto operator""_GJ (long double v)
 Interpret a number, suffixed with '_GJ', as a (literal) number of gigajoules. More...
 
constexpr auto operator""_erg (long double v)
 Interpret a number, suffixed with '_erg', as a (literal) number of ergs. More...
 
constexpr auto operator""_W (long double v)
 Interpret a number, suffixed with '_W', as a (literal) number of watts. More...
 
constexpr auto operator""_mW (long double v)
 Interpret a number, suffixed with '_mW', as a (literal) number of milliwatts. More...
 
constexpr auto operator""_muW (long double v)
 Interpret a number, suffixed with '_muW', as a (literal) number of microwatts. More...
 
constexpr auto operator""_kW (long double v)
 Interpret a number, suffixed with '_kW', as a (literal) number of kilowatts. More...
 
constexpr auto operator""_MW (long double v)
 Interpret a number, suffixed with '_MW', as a (literal) number of megawatts. More...
 
constexpr auto operator""_GW (long double v)
 Interpret a number, suffixed with '_GW', as a (literal) number of gigawatts. More...
 
constexpr auto operator""_A (long double v)
 Interpret a number, suffixed with '_A', as a (literal) number of amperes. More...
 
constexpr auto operator""_mA (long double v)
 Interpret a number, suffixed with '_mA', as a (literal) number of milliamperes. More...
 
constexpr auto operator""_muA (long double v)
 Interpret a number, suffixed with '_muA', as a (literal) number of microamperes. More...
 

Variables

constexpr auto m = impl::m<double>
 Constant-expression symbol for m. More...
 
constexpr auto cm = impl::cm<double>
 Constant-expression symbol for cm. More...
 
constexpr auto mm = impl::mm<double>
 Constant-expression symbol for mm. More...
 
constexpr auto mum = impl::mum<double>
 Constant-expression symbol for mum. More...
 
constexpr auto nm = impl::nm<double>
 Constant-expression symbol for nm. More...
 
constexpr auto pm = impl::pm<double>
 Constant-expression symbol for pm. More...
 
constexpr auto fm = impl::fm<double>
 Constant-expression symbol for fm. More...
 
constexpr auto km = impl::km<double>
 Constant-expression symbol for km. More...
 
constexpr auto Mm = impl::Mm<double>
 Constant-expression symbol for Mm. More...
 
constexpr auto g = impl::g<double>
 Constant-expression symbol for g. More...
 
constexpr auto mg = impl::mg<double>
 Constant-expression symbol for mg. More...
 
constexpr auto mug = impl::mug<double>
 Constant-expression symbol for mug. More...
 
constexpr auto ng = impl::ng<double>
 Constant-expression symbol for ng. More...
 
constexpr auto pg = impl::pg<double>
 Constant-expression symbol for pg. More...
 
constexpr auto kg = impl::kg<double>
 Constant-expression symbol for kg. More...
 
constexpr auto Mg = impl::Mg<double>
 Constant-expression symbol for Mg. More...
 
constexpr auto s = impl::s<double>
 Constant-expression symbol for s. More...
 
constexpr auto ms = impl::ms<double>
 Constant-expression symbol for ms. More...
 
constexpr auto mus = impl::mus<double>
 Constant-expression symbol for mus. More...
 
constexpr auto ns = impl::ns<double>
 Constant-expression symbol for ns. More...
 
constexpr auto ps = impl::ps<double>
 Constant-expression symbol for ps. More...
 
constexpr auto fs = impl::fs<double>
 Constant-expression symbol for fs. More...
 
constexpr auto C = impl::C<double>
 Constant-expression symbol for C. More...
 
constexpr auto mC = impl::mC<double>
 Constant-expression symbol for mC. More...
 
constexpr auto muC = impl::muC<double>
 Constant-expression symbol for muC. More...
 
constexpr auto nC = impl::nC<double>
 Constant-expression symbol for nC. More...
 
constexpr auto pC = impl::pC<double>
 Constant-expression symbol for pC. More...
 
constexpr auto K = impl::K<double>
 Constant-expression symbol for K. More...
 
constexpr auto mK = impl::mK<double>
 Constant-expression symbol for mK. More...
 
constexpr auto muK = impl::muK<double>
 Constant-expression symbol for muK. More...
 
constexpr auto nK = impl::nK<double>
 Constant-expression symbol for nK. More...
 
constexpr auto ft = impl::ft<double>
 Constant-expression symbol for ft. More...
 
constexpr auto kft = impl::kft<double>
 Constant-expression symbol for kft. More...
 
constexpr auto in = impl::in<double>
 Constant-expression symbol for in. More...
 
constexpr auto yd = impl::yd<double>
 Constant-expression symbol for yd. More...
 
constexpr auto mi = impl::mi<double>
 Constant-expression symbol for mi. More...
 
constexpr auto N = impl::N<double>
 Constant-expression symbol for N. More...
 
constexpr auto mN = impl::mN<double>
 Constant-expression symbol for mN. More...
 
constexpr auto muN = impl::muN<double>
 Constant-expression symbol for muN. More...
 
constexpr auto kN = impl::kN<double>
 Constant-expression symbol for kN. More...
 
constexpr auto MN = impl::MN<double>
 Constant-expression symbol for MN. More...
 
constexpr auto dyn = impl::dyn<double>
 Constant-expression symbol for dyn. More...
 
constexpr auto J = impl::J<double>
 Constant-expression symbol for J. More...
 
constexpr auto mJ = impl::mJ<double>
 Constant-expression symbol for mJ. More...
 
constexpr auto muJ = impl::muJ<double>
 Constant-expression symbol for muJ. More...
 
constexpr auto kJ = impl::kJ<double>
 Constant-expression symbol for kJ. More...
 
constexpr auto MJ = impl::MJ<double>
 Constant-expression symbol for MJ. More...
 
constexpr auto GJ = impl::GJ<double>
 Constant-expression symbol for GJ. More...
 
constexpr auto erg = impl::erg<double>
 Constant-expression symbol for erg. More...
 
constexpr auto W = impl::W<double>
 Constant-expression symbol for W. More...
 
constexpr auto mW = impl::mW<double>
 Constant-expression symbol for mW. More...
 
constexpr auto muW = impl::muW<double>
 Constant-expression symbol for muW. More...
 
constexpr auto kW = impl::kW<double>
 Constant-expression symbol for kW. More...
 
constexpr auto MW = impl::MW<double>
 Constant-expression symbol for MW. More...
 
constexpr auto GW = impl::GW<double>
 Constant-expression symbol for GW. More...
 
constexpr auto A = impl::A<double>
 Constant-expression symbol for A. More...
 
constexpr auto mA = impl::mA<double>
 Constant-expression symbol for mA. More...
 
constexpr auto muA = impl::muA<double>
 Constant-expression symbol for muA. More...
 

Detailed Description

Double-precision dimensions and units.

Typedef Documentation

using vnix::units::dbl::acceleration = typedef decltype(m/s/s)

Definition at line 2763 of file units.hpp.

using vnix::units::dbl::area = typedef decltype(m*m)

Definition at line 2769 of file units.hpp.

using vnix::units::dbl::charge = typedef basic_statdim<charge_dim.encode(), double>

Type for variable of dimension charge.

Definition at line 2442 of file units.hpp.

using vnix::units::dbl::current = typedef decltype(C/s)

Definition at line 2766 of file units.hpp.

using vnix::units::dbl::dyndim = typedef basic_dyndim<double>

Type of dimensioned value whose dimension is not known at compile-time.

Definition at line 2223 of file units.hpp.

using vnix::units::dbl::energy = typedef decltype(J/1)

Definition at line 2767 of file units.hpp.

using vnix::units::dbl::force = typedef decltype(N/1)

Definition at line 2765 of file units.hpp.

using vnix::units::dbl::length = typedef basic_statdim<length_dim.encode(), double>

Type for variable of dimension length.

Definition at line 2235 of file units.hpp.

using vnix::units::dbl::mass = typedef basic_statdim<mass_dim.encode(), double>

Type for variable of dimension mass.

Definition at line 2319 of file units.hpp.

using vnix::units::dbl::momentum = typedef decltype(g*m/s)

Definition at line 2764 of file units.hpp.

using vnix::units::dbl::power = typedef decltype(W/1)

Definition at line 2768 of file units.hpp.

using vnix::units::dbl::pressure = typedef decltype(N/m/m)

Definition at line 2771 of file units.hpp.

using vnix::units::dbl::speed = typedef decltype(m/s)

Definition at line 2762 of file units.hpp.

using vnix::units::dbl::temperature = typedef basic_statdim<temperature_dim.encode(), double>

Type for variable of dimension temperature.

Definition at line 2490 of file units.hpp.

using vnix::units::dbl::time = typedef basic_statdim<time_dim.encode(), double>

Type for variable of dimension time.

Definition at line 2385 of file units.hpp.

using vnix::units::dbl::volume = typedef decltype(m*m*m)

Definition at line 2770 of file units.hpp.

Function Documentation

constexpr auto vnix::units::dbl::operator""_A ( long double  v)

Interpret a number, suffixed with '_A', as a (literal) number of amperes.

Definition at line 2740 of file units.hpp.

2740  {
2741  return double(v)*A;
2742 }
constexpr amperes< T > A(T(1))
Template-variable for symbol for amperes.
constexpr auto vnix::units::dbl::operator""_C ( long double  v)

Interpret a number, suffixed with '_C', as a (literal) number of coulombs.

Definition at line 2434 of file units.hpp.

2434  {
2435  return coulombs(double(v));
2436 }
constexpr auto coulombs(T v)
Produce dimensioned quantity from number of coulombs.
Definition: units.hpp:1449

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_cm ( long double  v)

Interpret a number, suffixed with '_cm', as a (literal) number of centimeters.

Definition at line 2239 of file units.hpp.

2239  {
2240  return centimeters(double(v));
2241 }
constexpr auto centimeters(T v)
Produce dimensioned quantity from number of centimeters.
Definition: units.hpp:1323

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_dyn ( long double  v)

Interpret a number, suffixed with '_dyn', as a (literal) number of dynes.

Definition at line 2614 of file units.hpp.

2614  {
2615  return double(v)*dyn;
2616 }
constexpr dynes< T > dyn(T(1))
Template-variable for symbol for dynes.
constexpr auto vnix::units::dbl::operator""_erg ( long double  v)

Interpret a number, suffixed with '_erg', as a (literal) number of ergs.

Definition at line 2677 of file units.hpp.

2677  {
2678  return double(v)*erg;
2679 }
constexpr ergs< T > erg(T(1))
Template-variable for symbol for ergs.
constexpr auto vnix::units::dbl::operator""_fm ( long double  v)

Interpret a number, suffixed with '_fm', as a (literal) number of femtometers.

Definition at line 2284 of file units.hpp.

2284  {
2285  return femtometers(double(v));
2286 }
constexpr auto femtometers(T v)
Produce dimensioned quantity from number of femtometers.
Definition: units.hpp:1353

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_fs ( long double  v)

Interpret a number, suffixed with '_fs', as a (literal) number of femtoseconds.

Definition at line 2425 of file units.hpp.

2425  {
2426  return femtoseconds(double(v));
2427 }
constexpr auto femtoseconds(T v)
Produce dimensioned quantity from number of femtoseconds.
Definition: units.hpp:1443

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_ft ( long double  v)

Interpret a number, suffixed with '_ft', as a (literal) number of feet.

Definition at line 2524 of file units.hpp.

2524  {
2525  return double(v)*ft;
2526 }
constexpr feet< T > ft(T(1))
Template-variable for symbol for feet.
constexpr auto vnix::units::dbl::operator""_g ( long double  v)

Interpret a number, suffixed with '_g', as a (literal) number of grams.

Definition at line 2311 of file units.hpp.

2311  {
2312  return grams(double(v));
2313 }
constexpr auto grams(T v)
Produce dimensioned quantity from number of grams.
Definition: units.hpp:1371

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_GJ ( long double  v)

Interpret a number, suffixed with '_GJ', as a (literal) number of gigajoules.

Definition at line 2668 of file units.hpp.

2668  {
2669  return double(v)*GJ;
2670 }
constexpr gigajoules< T > GJ(T(1))
Template-variable for symbol for gigajoules.
constexpr auto vnix::units::dbl::operator""_GW ( long double  v)

Interpret a number, suffixed with '_GW', as a (literal) number of gigawatts.

Definition at line 2731 of file units.hpp.

2731  {
2732  return double(v)*GW;
2733 }
constexpr gigawatts< T > GW(T(1))
Template-variable for symbol for gigawatts.
constexpr auto vnix::units::dbl::operator""_in ( long double  v)

Interpret a number, suffixed with '_in', as a (literal) number of inches.

Definition at line 2542 of file units.hpp.

2542  {
2543  return double(v)*in;
2544 }
constexpr inches< T > in(T(1))
Template-variable for symbol for inches.
constexpr auto vnix::units::dbl::operator""_J ( long double  v)

Interpret a number, suffixed with '_J', as a (literal) number of joules.

Definition at line 2623 of file units.hpp.

2623  {
2624  return double(v)*J;
2625 }
constexpr joules< T > J(T(1))
Template-variable for symbol for joules.
constexpr auto vnix::units::dbl::operator""_K ( long double  v)

Interpret a number, suffixed with '_K', as a (literal) number of kelvins.

Definition at line 2482 of file units.hpp.

2482  {
2483  return kelvins(double(v));
2484 }
constexpr auto kelvins(T v)
Produce dimensioned quantity from number of kelvins.
Definition: units.hpp:1479

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_kft ( long double  v)

Interpret a number, suffixed with '_kft', as a (literal) number of kilofeet.

Definition at line 2533 of file units.hpp.

2533  {
2534  return double(v)*kft;
2535 }
constexpr kilofeet< T > kft(T(1))
Template-variable for symbol for kilofeet.
constexpr auto vnix::units::dbl::operator""_kg ( long double  v)

Interpret a number, suffixed with '_kg', as a (literal) number of kilograms.

Definition at line 2359 of file units.hpp.

2359  {
2360  return kilograms(double(v));
2361 }
constexpr auto kilograms(T v)
Produce dimensioned quantity from number of kilograms.
Definition: units.hpp:1401

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_kJ ( long double  v)

Interpret a number, suffixed with '_kJ', as a (literal) number of kilojoules.

Definition at line 2650 of file units.hpp.

2650  {
2651  return double(v)*kJ;
2652 }
constexpr kilojoules< T > kJ(T(1))
Template-variable for symbol for kilojoules.
constexpr auto vnix::units::dbl::operator""_km ( long double  v)

Interpret a number, suffixed with '_km', as a (literal) number of kilometers.

Definition at line 2293 of file units.hpp.

2293  {
2294  return kilometers(double(v));
2295 }
constexpr auto kilometers(T v)
Produce dimensioned quantity from number of kilometers.
Definition: units.hpp:1359

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_kN ( long double  v)

Interpret a number, suffixed with '_kN', as a (literal) number of kilonewtons.

Definition at line 2596 of file units.hpp.

2596  {
2597  return double(v)*kN;
2598 }
constexpr kilonewtons< T > kN(T(1))
Template-variable for symbol for kilonewtons.
constexpr auto vnix::units::dbl::operator""_kW ( long double  v)

Interpret a number, suffixed with '_kW', as a (literal) number of kilowatts.

Definition at line 2713 of file units.hpp.

2713  {
2714  return double(v)*kW;
2715 }
constexpr kilowatts< T > kW(T(1))
Template-variable for symbol for kilowatts.
constexpr auto vnix::units::dbl::operator""_m ( long double  v)

Interpret a number, suffixed with '_m', as a (literal) number of meters.

Definition at line 2227 of file units.hpp.

2227  {
2228  return meters(double(v));
2229 }
constexpr auto meters(T v)
Produce dimensioned quantity from number of meters.
Definition: units.hpp:1317

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_mA ( long double  v)

Interpret a number, suffixed with '_mA', as a (literal) number of milliamperes.

Definition at line 2749 of file units.hpp.

2749  {
2750  return double(v)*mA;
2751 }
constexpr milliamperes< T > mA(T(1))
Template-variable for symbol for milliamperes.
constexpr auto vnix::units::dbl::operator""_mC ( long double  v)

Interpret a number, suffixed with '_mC', as a (literal) number of millicoulombs.

Definition at line 2446 of file units.hpp.

2446  {
2447  return millicoulombs(double(v));
2448 }
constexpr auto millicoulombs(T v)
Produce dimensioned quantity from number of millicoulombs.
Definition: units.hpp:1455

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_mg ( long double  v)

Interpret a number, suffixed with '_mg', as a (literal) number of milligrams.

Definition at line 2323 of file units.hpp.

2323  {
2324  return milligrams(double(v));
2325 }
constexpr auto milligrams(T v)
Produce dimensioned quantity from number of milligrams.
Definition: units.hpp:1377

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_Mg ( long double  v)

Interpret a number, suffixed with '_Mg', as a (literal) number of megagrams.

Definition at line 2368 of file units.hpp.

2368  {
2369  return megagrams(double(v));
2370 }
constexpr auto megagrams(T v)
Produce dimensioned quantity from number of megagrams.
Definition: units.hpp:1407

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_mi ( long double  v)

Interpret a number, suffixed with '_mi', as a (literal) number of miles.

Definition at line 2560 of file units.hpp.

2560  {
2561  return double(v)*mi;
2562 }
constexpr miles< T > mi(T(1))
Template-variable for symbol for miles.
constexpr auto vnix::units::dbl::operator""_mJ ( long double  v)

Interpret a number, suffixed with '_mJ', as a (literal) number of millijoules.

Definition at line 2632 of file units.hpp.

2632  {
2633  return double(v)*mJ;
2634 }
constexpr millijoules< T > mJ(T(1))
Template-variable for symbol for millijoules.
constexpr auto vnix::units::dbl::operator""_MJ ( long double  v)

Interpret a number, suffixed with '_MJ', as a (literal) number of megajoules.

Definition at line 2659 of file units.hpp.

2659  {
2660  return double(v)*MJ;
2661 }
constexpr megajoules< T > MJ(T(1))
Template-variable for symbol for megajoules.
constexpr auto vnix::units::dbl::operator""_mK ( long double  v)

Interpret a number, suffixed with '_mK', as a (literal) number of millikelvins.

Definition at line 2494 of file units.hpp.

2494  {
2495  return millikelvins(double(v));
2496 }
constexpr auto millikelvins(T v)
Produce dimensioned quantity from number of millikelvins.
Definition: units.hpp:1485

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_mm ( long double  v)

Interpret a number, suffixed with '_mm', as a (literal) number of millimeters.

Definition at line 2248 of file units.hpp.

2248  {
2249  return millimeters(double(v));
2250 }
constexpr auto millimeters(T v)
Produce dimensioned quantity from number of millimeters.
Definition: units.hpp:1329

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_Mm ( long double  v)

Interpret a number, suffixed with '_Mm', as a (literal) number of megameters.

Definition at line 2302 of file units.hpp.

2302  {
2303  return megameters(double(v));
2304 }
constexpr auto megameters(T v)
Produce dimensioned quantity from number of megameters.
Definition: units.hpp:1365

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_mN ( long double  v)

Interpret a number, suffixed with '_mN', as a (literal) number of millinewtons.

Definition at line 2578 of file units.hpp.

2578  {
2579  return double(v)*mN;
2580 }
constexpr millinewtons< T > mN(T(1))
Template-variable for symbol for millinewtons.
constexpr auto vnix::units::dbl::operator""_MN ( long double  v)

Interpret a number, suffixed with '_MN', as a (literal) number of meganewtons.

Definition at line 2605 of file units.hpp.

2605  {
2606  return double(v)*MN;
2607 }
constexpr meganewtons< T > MN(T(1))
Template-variable for symbol for meganewtons.
constexpr auto vnix::units::dbl::operator""_ms ( long double  v)

Interpret a number, suffixed with '_ms', as a (literal) number of milliseconds.

Definition at line 2389 of file units.hpp.

2389  {
2390  return milliseconds(double(v));
2391 }
constexpr auto milliseconds(T v)
Produce dimensioned quantity from number of milliseconds.
Definition: units.hpp:1419

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_muA ( long double  v)

Interpret a number, suffixed with '_muA', as a (literal) number of microamperes.

Definition at line 2758 of file units.hpp.

2758  {
2759  return double(v)*muA;
2760 }
constexpr microamperes< T > muA(T(1))
Template-variable for symbol for microamperes.
constexpr auto vnix::units::dbl::operator""_muC ( long double  v)

Interpret a number, suffixed with '_muC', as a (literal) number of microcoulombs.

Definition at line 2455 of file units.hpp.

2455  {
2456  return microcoulombs(double(v));
2457 }
constexpr auto microcoulombs(T v)
Produce dimensioned quantity from number of microcoulombs.
Definition: units.hpp:1461

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_mug ( long double  v)

Interpret a number, suffixed with '_mug', as a (literal) number of micrograms.

Definition at line 2332 of file units.hpp.

2332  {
2333  return micrograms(double(v));
2334 }
constexpr auto micrograms(T v)
Produce dimensioned quantity from number of micrograms.
Definition: units.hpp:1383

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_muJ ( long double  v)

Interpret a number, suffixed with '_muJ', as a (literal) number of microjoules.

Definition at line 2641 of file units.hpp.

2641  {
2642  return double(v)*muJ;
2643 }
constexpr microjoules< T > muJ(T(1))
Template-variable for symbol for microjoules.
constexpr auto vnix::units::dbl::operator""_muK ( long double  v)

Interpret a number, suffixed with '_muK', as a (literal) number of microkelvins.

Definition at line 2503 of file units.hpp.

2503  {
2504  return microkelvins(double(v));
2505 }
constexpr auto microkelvins(T v)
Produce dimensioned quantity from number of microkelvins.
Definition: units.hpp:1491

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_mum ( long double  v)

Interpret a number, suffixed with '_mum', as a (literal) number of micrometers.

Definition at line 2257 of file units.hpp.

2257  {
2258  return micrometers(double(v));
2259 }
constexpr auto micrometers(T v)
Produce dimensioned quantity from number of micrometers.
Definition: units.hpp:1335

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_muN ( long double  v)

Interpret a number, suffixed with '_muN', as a (literal) number of micronewtons.

Definition at line 2587 of file units.hpp.

2587  {
2588  return double(v)*muN;
2589 }
constexpr micronewtons< T > muN(T(1))
Template-variable for symbol for micronewtons.
constexpr auto vnix::units::dbl::operator""_mus ( long double  v)

Interpret a number, suffixed with '_mus', as a (literal) number of microseconds.

Definition at line 2398 of file units.hpp.

2398  {
2399  return microseconds(double(v));
2400 }
constexpr auto microseconds(T v)
Produce dimensioned quantity from number of microseconds.
Definition: units.hpp:1425

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_muW ( long double  v)

Interpret a number, suffixed with '_muW', as a (literal) number of microwatts.

Definition at line 2704 of file units.hpp.

2704  {
2705  return double(v)*muW;
2706 }
constexpr microwatts< T > muW(T(1))
Template-variable for symbol for microwatts.
constexpr auto vnix::units::dbl::operator""_mW ( long double  v)

Interpret a number, suffixed with '_mW', as a (literal) number of milliwatts.

Definition at line 2695 of file units.hpp.

2695  {
2696  return double(v)*mW;
2697 }
constexpr milliwatts< T > mW(T(1))
Template-variable for symbol for milliwatts.
constexpr auto vnix::units::dbl::operator""_MW ( long double  v)

Interpret a number, suffixed with '_MW', as a (literal) number of megawatts.

Definition at line 2722 of file units.hpp.

2722  {
2723  return double(v)*MW;
2724 }
constexpr megawatts< T > MW(T(1))
Template-variable for symbol for megawatts.
constexpr auto vnix::units::dbl::operator""_N ( long double  v)

Interpret a number, suffixed with '_N', as a (literal) number of newtons.

Definition at line 2569 of file units.hpp.

2569  {
2570  return double(v)*N;
2571 }
constexpr newtons< T > N(T(1))
Template-variable for symbol for newtons.
constexpr auto vnix::units::dbl::operator""_nC ( long double  v)

Interpret a number, suffixed with '_nC', as a (literal) number of nanocoulombs.

Definition at line 2464 of file units.hpp.

2464  {
2465  return nanocoulombs(double(v));
2466 }
constexpr auto nanocoulombs(T v)
Produce dimensioned quantity from number of nanocoulombs.
Definition: units.hpp:1467

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_ng ( long double  v)

Interpret a number, suffixed with '_ng', as a (literal) number of nanograms.

Definition at line 2341 of file units.hpp.

2341  {
2342  return nanograms(double(v));
2343 }
constexpr auto nanograms(T v)
Produce dimensioned quantity from number of nanograms.
Definition: units.hpp:1389

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_nK ( long double  v)

Interpret a number, suffixed with '_nK', as a (literal) number of nanokelvins.

Definition at line 2512 of file units.hpp.

2512  {
2513  return nanokelvins(double(v));
2514 }
constexpr auto nanokelvins(T v)
Produce dimensioned quantity from number of nanokelvins.
Definition: units.hpp:1497

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_nm ( long double  v)

Interpret a number, suffixed with '_nm', as a (literal) number of nanometers.

Definition at line 2266 of file units.hpp.

2266  {
2267  return nanometers(double(v));
2268 }
constexpr auto nanometers(T v)
Produce dimensioned quantity from number of nanometers.
Definition: units.hpp:1341

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_ns ( long double  v)

Interpret a number, suffixed with '_ns', as a (literal) number of nanoseconds.

Definition at line 2407 of file units.hpp.

2407  {
2408  return nanoseconds(double(v));
2409 }
constexpr auto nanoseconds(T v)
Produce dimensioned quantity from number of nanoseconds.
Definition: units.hpp:1431

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_pC ( long double  v)

Interpret a number, suffixed with '_pC', as a (literal) number of picocoulombs.

Definition at line 2473 of file units.hpp.

2473  {
2474  return picocoulombs(double(v));
2475 }
constexpr auto picocoulombs(T v)
Produce dimensioned quantity from number of picocoulombs.
Definition: units.hpp:1473

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_pg ( long double  v)

Interpret a number, suffixed with '_pg', as a (literal) number of picograms.

Definition at line 2350 of file units.hpp.

2350  {
2351  return picograms(double(v));
2352 }
constexpr auto picograms(T v)
Produce dimensioned quantity from number of picograms.
Definition: units.hpp:1395

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_pm ( long double  v)

Interpret a number, suffixed with '_pm', as a (literal) number of picometers.

Definition at line 2275 of file units.hpp.

2275  {
2276  return picometers(double(v));
2277 }
constexpr auto picometers(T v)
Produce dimensioned quantity from number of picometers.
Definition: units.hpp:1347

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_ps ( long double  v)

Interpret a number, suffixed with '_ps', as a (literal) number of picoseconds.

Definition at line 2416 of file units.hpp.

2416  {
2417  return picoseconds(double(v));
2418 }
constexpr auto picoseconds(T v)
Produce dimensioned quantity from number of picoseconds.
Definition: units.hpp:1437

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_s ( long double  v)

Interpret a number, suffixed with '_s', as a (literal) number of seconds.

Definition at line 2377 of file units.hpp.

2377  {
2378  return seconds(double(v));
2379 }
constexpr auto seconds(T v)
Produce dimensioned quantity from number of seconds.
Definition: units.hpp:1413

Here is the call graph for this function:

constexpr auto vnix::units::dbl::operator""_W ( long double  v)

Interpret a number, suffixed with '_W', as a (literal) number of watts.

Definition at line 2686 of file units.hpp.

2686  {
2687  return double(v)*W;
2688 }
constexpr watts< T > W(T(1))
Template-variable for symbol for watts.
constexpr auto vnix::units::dbl::operator""_yd ( long double  v)

Interpret a number, suffixed with '_yd', as a (literal) number of yards.

Definition at line 2551 of file units.hpp.

2551  {
2552  return double(v)*yd;
2553 }
constexpr yards< T > yd(T(1))
Template-variable for symbol for yards.

Variable Documentation

constexpr auto vnix::units::dbl::A = impl::A<double>

Constant-expression symbol for A.

Definition at line 2736 of file units.hpp.

constexpr auto vnix::units::dbl::C = impl::C<double>

Constant-expression symbol for C.

Definition at line 2439 of file units.hpp.

constexpr auto vnix::units::dbl::cm = impl::cm<double>

Constant-expression symbol for cm.

Definition at line 2244 of file units.hpp.

constexpr auto vnix::units::dbl::dyn = impl::dyn<double>

Constant-expression symbol for dyn.

Definition at line 2610 of file units.hpp.

constexpr auto vnix::units::dbl::erg = impl::erg<double>

Constant-expression symbol for erg.

Definition at line 2673 of file units.hpp.

constexpr auto vnix::units::dbl::fm = impl::fm<double>

Constant-expression symbol for fm.

Definition at line 2289 of file units.hpp.

constexpr auto vnix::units::dbl::fs = impl::fs<double>

Constant-expression symbol for fs.

Definition at line 2430 of file units.hpp.

constexpr auto vnix::units::dbl::ft = impl::ft<double>

Constant-expression symbol for ft.

Definition at line 2520 of file units.hpp.

constexpr auto vnix::units::dbl::g = impl::g<double>

Constant-expression symbol for g.

Definition at line 2316 of file units.hpp.

constexpr auto vnix::units::dbl::GJ = impl::GJ<double>

Constant-expression symbol for GJ.

Definition at line 2664 of file units.hpp.

constexpr auto vnix::units::dbl::GW = impl::GW<double>

Constant-expression symbol for GW.

Definition at line 2727 of file units.hpp.

constexpr auto vnix::units::dbl::in = impl::in<double>

Constant-expression symbol for in.

Definition at line 2538 of file units.hpp.

constexpr auto vnix::units::dbl::J = impl::J<double>

Constant-expression symbol for J.

Definition at line 2619 of file units.hpp.

constexpr auto vnix::units::dbl::K = impl::K<double>

Constant-expression symbol for K.

Definition at line 2487 of file units.hpp.

constexpr auto vnix::units::dbl::kft = impl::kft<double>

Constant-expression symbol for kft.

Definition at line 2529 of file units.hpp.

constexpr auto vnix::units::dbl::kg = impl::kg<double>

Constant-expression symbol for kg.

Definition at line 2364 of file units.hpp.

constexpr auto vnix::units::dbl::kJ = impl::kJ<double>

Constant-expression symbol for kJ.

Definition at line 2646 of file units.hpp.

constexpr auto vnix::units::dbl::km = impl::km<double>

Constant-expression symbol for km.

Definition at line 2298 of file units.hpp.

constexpr auto vnix::units::dbl::kN = impl::kN<double>

Constant-expression symbol for kN.

Definition at line 2592 of file units.hpp.

constexpr auto vnix::units::dbl::kW = impl::kW<double>

Constant-expression symbol for kW.

Definition at line 2709 of file units.hpp.

constexpr auto vnix::units::dbl::m = impl::m<double>

Constant-expression symbol for m.

Definition at line 2232 of file units.hpp.

constexpr auto vnix::units::dbl::mA = impl::mA<double>

Constant-expression symbol for mA.

Definition at line 2745 of file units.hpp.

constexpr auto vnix::units::dbl::mC = impl::mC<double>

Constant-expression symbol for mC.

Definition at line 2451 of file units.hpp.

constexpr auto vnix::units::dbl::mg = impl::mg<double>

Constant-expression symbol for mg.

Definition at line 2328 of file units.hpp.

constexpr auto vnix::units::dbl::Mg = impl::Mg<double>

Constant-expression symbol for Mg.

Definition at line 2373 of file units.hpp.

constexpr auto vnix::units::dbl::mi = impl::mi<double>

Constant-expression symbol for mi.

Definition at line 2556 of file units.hpp.

constexpr auto vnix::units::dbl::mJ = impl::mJ<double>

Constant-expression symbol for mJ.

Definition at line 2628 of file units.hpp.

constexpr auto vnix::units::dbl::MJ = impl::MJ<double>

Constant-expression symbol for MJ.

Definition at line 2655 of file units.hpp.

constexpr auto vnix::units::dbl::mK = impl::mK<double>

Constant-expression symbol for mK.

Definition at line 2499 of file units.hpp.

constexpr auto vnix::units::dbl::mm = impl::mm<double>

Constant-expression symbol for mm.

Definition at line 2253 of file units.hpp.

constexpr auto vnix::units::dbl::Mm = impl::Mm<double>

Constant-expression symbol for Mm.

Definition at line 2307 of file units.hpp.

constexpr auto vnix::units::dbl::mN = impl::mN<double>

Constant-expression symbol for mN.

Definition at line 2574 of file units.hpp.

constexpr auto vnix::units::dbl::MN = impl::MN<double>

Constant-expression symbol for MN.

Definition at line 2601 of file units.hpp.

constexpr auto vnix::units::dbl::ms = impl::ms<double>

Constant-expression symbol for ms.

Definition at line 2394 of file units.hpp.

constexpr auto vnix::units::dbl::muA = impl::muA<double>

Constant-expression symbol for muA.

Definition at line 2754 of file units.hpp.

constexpr auto vnix::units::dbl::muC = impl::muC<double>

Constant-expression symbol for muC.

Definition at line 2460 of file units.hpp.

constexpr auto vnix::units::dbl::mug = impl::mug<double>

Constant-expression symbol for mug.

Definition at line 2337 of file units.hpp.

constexpr auto vnix::units::dbl::muJ = impl::muJ<double>

Constant-expression symbol for muJ.

Definition at line 2637 of file units.hpp.

constexpr auto vnix::units::dbl::muK = impl::muK<double>

Constant-expression symbol for muK.

Definition at line 2508 of file units.hpp.

constexpr auto vnix::units::dbl::mum = impl::mum<double>

Constant-expression symbol for mum.

Definition at line 2262 of file units.hpp.

constexpr auto vnix::units::dbl::muN = impl::muN<double>

Constant-expression symbol for muN.

Definition at line 2583 of file units.hpp.

constexpr auto vnix::units::dbl::mus = impl::mus<double>

Constant-expression symbol for mus.

Definition at line 2403 of file units.hpp.

constexpr auto vnix::units::dbl::muW = impl::muW<double>

Constant-expression symbol for muW.

Definition at line 2700 of file units.hpp.

constexpr auto vnix::units::dbl::mW = impl::mW<double>

Constant-expression symbol for mW.

Definition at line 2691 of file units.hpp.

constexpr auto vnix::units::dbl::MW = impl::MW<double>

Constant-expression symbol for MW.

Definition at line 2718 of file units.hpp.

constexpr auto vnix::units::dbl::N = impl::N<double>

Constant-expression symbol for N.

Definition at line 2565 of file units.hpp.

constexpr auto vnix::units::dbl::nC = impl::nC<double>

Constant-expression symbol for nC.

Definition at line 2469 of file units.hpp.

constexpr auto vnix::units::dbl::ng = impl::ng<double>

Constant-expression symbol for ng.

Definition at line 2346 of file units.hpp.

constexpr auto vnix::units::dbl::nK = impl::nK<double>

Constant-expression symbol for nK.

Definition at line 2517 of file units.hpp.

constexpr auto vnix::units::dbl::nm = impl::nm<double>

Constant-expression symbol for nm.

Definition at line 2271 of file units.hpp.

constexpr auto vnix::units::dbl::ns = impl::ns<double>

Constant-expression symbol for ns.

Definition at line 2412 of file units.hpp.

constexpr auto vnix::units::dbl::pC = impl::pC<double>

Constant-expression symbol for pC.

Definition at line 2478 of file units.hpp.

constexpr auto vnix::units::dbl::pg = impl::pg<double>

Constant-expression symbol for pg.

Definition at line 2355 of file units.hpp.

constexpr auto vnix::units::dbl::pm = impl::pm<double>

Constant-expression symbol for pm.

Definition at line 2280 of file units.hpp.

constexpr auto vnix::units::dbl::ps = impl::ps<double>

Constant-expression symbol for ps.

Definition at line 2421 of file units.hpp.

constexpr auto vnix::units::dbl::s = impl::s<double>

Constant-expression symbol for s.

Definition at line 2382 of file units.hpp.

constexpr auto vnix::units::dbl::W = impl::W<double>

Constant-expression symbol for W.

Definition at line 2682 of file units.hpp.

constexpr auto vnix::units::dbl::yd = impl::yd<double>

Constant-expression symbol for yd.

Definition at line 2547 of file units.hpp.