Unit Conversion and Dimensional Analysis Library 3.6.1
A compile-time, header-only C++23 dimensional-analysis library
Loading...
Searching...
No Matches
units::dimension Namespace Reference

namespace representing the implemented base and derived unit types. More...

Classes

struct  length_tag
struct  mass_tag
struct  time_tag
struct  current_tag
struct  temperature_tag
struct  substance_tag
struct  luminous_intensity_tag
struct  angle_tag
struct  data_tag

Typedefs

using length = make_dimension<length_tag>
using mass = make_dimension<mass_tag>
using time = make_dimension<time_tag>
using current = make_dimension<current_tag>
using temperature = make_dimension<temperature_tag>
using substance = make_dimension<substance_tag>
using luminous_intensity = make_dimension<luminous_intensity_tag>
using dimensionless = dimension_t<>
using angle = make_dimension<angle_tag>
 < Represents a quantity with no dimension.
using solid_angle = dimension_pow<angle, std::ratio<2>>
 < Represents a quantity of angle
using frequency = make_dimension<time, std::ratio<-1>>
 < Represents an SI derived unit of solid angle
using velocity = dimension_divide<length, time>
 < Represents an SI derived unit of frequency
using angular_velocity = dimension_divide<angle, time>
 < Represents an SI derived unit of velocity
using acceleration = dimension_divide<velocity, time>
 < Represents an SI derived unit of angular velocity
using force = dimension_multiply<mass, acceleration>
 < Represents an SI derived unit of acceleration
using area = dimension_pow<length, std::ratio<2>>
 < Represents an SI derived unit of force
using volume = dimension_pow<length, std::ratio<3>>
 < Represents an SI derived unit of area
using volume_flow_rate = dimension_divide<volume, time>
 < Represents an SI derived unit of volume
using pressure = dimension_divide<force, area>
 < Represents an SI derived unit of volumetric flow rate
using charge = dimension_multiply<time, current>
 < Represents an SI derived unit of pressure
using energy = dimension_multiply<force, length>
 < Represents an SI derived unit of charge
using power = dimension_divide<energy, time>
 < Represents an SI derived unit of energy
using voltage = dimension_divide<power, current>
 < Represents an SI derived unit of power
using capacitance = dimension_divide<charge, voltage>
 < Represents an SI derived unit of voltage
using impedance = dimension_divide<voltage, current>
 < Represents an SI derived unit of capacitance
using conductance = dimension_divide<current, voltage>
 < Represents an SI derived unit of impedance
using magnetic_flux = dimension_divide<energy, current>
 < Represents an SI derived unit of conductance
using inductance = dimension_multiply<impedance, time>
 < Represents an SI derived unit of magnetic flux
using luminous_flux = dimension_multiply<solid_angle, luminous_intensity>
 < Represents an SI derived unit of inductance
using illuminance = make_dimension<luminous_flux, std::ratio<1>, length, std::ratio<-2>>
 < Represents an SI derived unit of luminous flux
using luminance = make_dimension<luminous_intensity, std::ratio<1>, length, std::ratio<-2>>
 < Represents an SI derived unit of illuminance
using radioactivity = make_dimension<length, std::ratio<2>, time, std::ratio<-2>>
 < Represents an SI derived unit of luminance
using substance_mass = dimension_divide<mass, substance>
 < Represents an SI derived unit of radioactivity
using substance_concentration = dimension_divide<substance, mass>
 < Represents an SI derived unit of substance mass
using magnetic_field_strength = make_dimension<mass, std::ratio<1>, time, std::ratio<-2>, current, std::ratio<-1>>
 < Represents an SI derived unit of substance concentration
using radiant_intensity = make_dimension<power, std::ratio<1>, solid_angle, std::ratio<-1>>
 < Represents an SI derived unit of magnetic field strength
using radiance = make_dimension<radiant_intensity, std::ratio<1>, area, std::ratio<-1>>
 < Represents an SI derived unit of radiant intensity
using irradiance = make_dimension<power, std::ratio<1>, area, std::ratio<-1>>
 < Represents an SI derived unit of radiance
using spectral_intensity = make_dimension<radiant_intensity, std::ratio<1>, length, std::ratio<-1>>
 < Represents an SI derived unit of irradiance
using spectral_flux = make_dimension<power, std::ratio<1>, length, std::ratio<-1>>
 < Represents an SI derived unit of spectral intensity
using spectral_radiance = make_dimension<radiant_intensity, std::ratio<1>, volume, std::ratio<-1>>
 < Represents an SI derived unit of spectral flux
using spectral_irradiance = make_dimension<power, std::ratio<1>, volume, std::ratio<-1>>
 < Represents an SI derived unit of spectral intensity
using jerk = make_dimension<length, std::ratio<1>, time, std::ratio<-3>>
 < Represents an SI derived unit of spectral irradiance
using torque = dimension_multiply<force, length>
 < Represents an SI derived unit of jerk
using density = dimension_divide<mass, volume>
 < Represents an SI derived unit of torque
using dynamic_viscosity = dimension_multiply<pressure, time>
 < Represents an SI derived unit of density
using kinematic_viscosity = dimension_divide<area, time>
 < Represents an SI derived unit of dynamic (absolute) viscosity
using energy_density = make_dimension<energy, std::ratio<1>, volume, std::ratio<-1>>
 < Represents an SI derived unit of kinematic viscosity
using concentration = make_dimension<volume, std::ratio<-1>>
 < Represents an SI derived unit of energy density
using data = make_dimension<data_tag>
 < Represents a unit of concentration
using data_transfer_rate = dimension_divide<data, time>
 < Represents a unit of data size

Detailed Description

namespace representing the implemented base and derived unit types.

These will not generally be needed by library users.

See also
dimension for the definition of the dimension parameters.