Moduledimensional-1.6.2Haskell2010
Numeric.Units.Dimensional.Quantities
Summary
This module defines type synonyms for common dimensionalities and the associated quantity types. Additional dimensionalities and quantity types will be added on an as-needed basis.
The definitions in this module are grouped so that a type synonym for the dimensionality is defined first in terms of base dimension exponents. Then a type synonym for the corresponding quantity type is defined. If there are several quantity types with the same dimensionality, type synonyms are provided for each quantity type.
References
- DataKinds
Contents
Synopsis
- type Area
- type Volume
- type Velocity
- type Acceleration
- type WaveNumber
- type MassDensity
- type Density
- type SpecificVolume
- type CurrentDensity
- type MagneticFieldStrength
- type AmountOfSubstanceConcentration
- type Concentration
- type Luminance
- type PlaneAngle
- type SolidAngle
- type Frequency
- type Force
- type Pressure
- type Stress
- type Energy
- type Work
- type QuantityOfHeat
- type Power
- type RadiantFlux
- type ElectricCharge
- type QuantityOfElectricity
- type ElectricPotential
- type PotentialDifference
- type ElectromotiveForce
- type Capacitance
- type ElectricResistance
- type ElectricConductance
- type MagneticFlux
- type MagneticFluxDensity
- type Inductance
- type LuminousFlux
- type Illuminance
- type CelsiusTemperature
- type Activity
- type AbsorbedDose
- type SpecificEnergy
- type Kerma
- type DoseEquivalent
- type AmbientDoseEquivalent
- type DirectionalDoseEquivalent
- type PersonalDoseEquivalent
- type EquivalentDose
- type CatalyticActivity
- type AngularVelocity
- type AngularAcceleration
- type DynamicViscosity
- type MomentOfForce
- type SurfaceTension
- type HeatFluxDensity
- type Irradiance
- type RadiantIntensity
- type Radiance
- type HeatCapacity
- type Entropy
- type SpecificHeatCapacity
- type SpecificEntropy
- type ThermalConductivity
- type EnergyDensity
- type ElectricFieldStrength
- type ElectricChargeDensity
- type ElectricFluxDensity
- type Permittivity
- type Permeability
- type MolarEnergy
- type MolarEntropy
- type MolarHeatCapacity
- type Exposure
- type AbsorbedDoseRate
- type Impulse
- type Momentum
- type MassFlow
- type VolumeFlow
- type GravitationalParameter
- type KinematicViscosity
- type FirstMassMoment
- type MomentOfInertia
- type AngularMomentum
- type ThermalResistivity
- type ThermalConductance
- type ThermalResistance
- type HeatTransferCoefficient
- type ThermalAdmittance
- type ThermalInsulance
- type Jerk
- type Angle
- type Thrust
- type Torque
- type EnergyPerUnitMass
- value square
- value cubic
- type DArea
- type DVolume
- type DVelocity
- type DAcceleration
- type DWaveNumber
- type DMassDensity
- type DDensity
- type DSpecificVolume
- type DCurrentDensity
- type DMagneticFieldStrength
- type DAmountOfSubstanceConcentration
- type DConcentration
- type DLuminance
- type DPlaneAngle
- type DSolidAngle
- type DFrequency
- type DForce
- type DPressure
- type DStress
- type DEnergy
- type DWork
- type DQuantityOfHeat
- type DPower
- type DRadiantFlux
- type DElectricCharge
- type DQuantityOfElectricity
- type DElectricPotential
- type DPotentialDifference
- type DElectromotiveForce
- type DCapacitance
- type DElectricResistance
- type DElectricConductance
- type DMagneticFlux
- type DMagneticFluxDensity
- type DInductance
- type DLuminousFlux
- type DIlluminance
- type DCelsiusTemperature
- type DActivity
- type DAbsorbedDose
- type DSpecificEnergy
- type DKerma
- type DDoseEquivalent
- type DAmbientDoseEquivalent
- type DDirectionalDoseEquivalent
- type DPersonalDoseEquivalent
- type DEquivalentDose
- type DCatalyticActivity
- type DAngularVelocity
- type DAngularAcceleration
- type DDynamicViscosity
- type DMomentOfForce
- type DSurfaceTension
- type DHeatFluxDensity
- type DIrradiance
- type DRadiantIntensity
- type DRadiance
- type DHeatCapacity
- type DEntropy
- type DSpecificHeatCapacity
- type DSpecificEntropy
- type DThermalConductivity
- type DEnergyDensity
- type DElectricFieldStrength
- type DElectricChargeDensity
- type DElectricFluxDensity
- type DPermittivity
- type DPermeability
- type DMolarEnergy
- type DMolarEntropy
- type DMolarHeatCapacity
- type DExposure
- type DAbsorbedDoseRate
- type DImpulse
- type DMomentum
- type DMassFlow
- type DVolumeFlow
- type DGravitationalParameter
- type DKinematicViscosity
- type DFirstMassMoment
- type DMomentOfInertia
- type DAngularMomentum
- type DThermalResistivity
- type DThermalConductance
- type DThermalResistance
- type DHeatTransferCoefficient
- type DThermalAdmittance
- type DThermalInsulance
- type DJerk
- type DAngle
- type DThrust
- type DTorque
- type DEnergyPerUnitMass
- Packagedimensional-1.6.2
- Exports188
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceQuantities.hs
Quantities from the NIST Guide
The following quantities are all from the NIST publication "Guide for the Use of the International System of Units (SI)" [1]. Any chapters, sections or tables referenced are from [1] unless otherwise specified.
For lack of better organization we provide definitions grouped by table in [1].
Table 2
"Examples of SI derived units expressed in terms of SI base units."
Table 3
SI coherent derived units with special names and symbols.
Table 4
"Examples of SI coherent derived units expressed with the aid of SI derived units having special names and symbols."
We use the same grouping as for table 2.
Quantities not from the NIST Guide
Here we define additional quantities on an as-needed basis. We also provide some synonyms that we anticipate will be useful.
Powers of Unit Lengths
It is permissible to express powers of length units by prefixing square and cubic (see section 9.6 "Spelling unit names raised to powers" of [1]).
These definitions may seem slightly out of place but these is no obvious place where they should be. Here they are at least close to the definitions of DArea and DVolume.
Constructs a unit of area from a unit of length, taking the area of a square whose sides are that length.
64 *~ square meter == (8 *~ meter) ^ pos2True
Constructs a unit of volume from a unit of length, taking the volume of a cube whose sides are that length.
64 *~ cubic meter == (4 *~ meter) ^ pos3True
Dimension Aliases
For each Quantity alias supplied above, we also supply a corresponding Dimension alias.
These dimension aliases may be convenient for supplying type signatures for Units or for other type-level dimensional programming.