Copyright | (C) 2013 Richard Eisenberg |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Richard Eisenberg (rae@cs.brynmawr.edu) |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
This module defines SI dimensions. The names of SI dimensions conform to http://www.bipm.org/utils/common/documents/jcgm/JCGM_200_2012.pdf.
Synopsis
- data Length = Length
- data Mass = Mass
- data Time = Time
- data Current = Current
- data Temperature = Temperature
- data AmountOfSubstance = AmountOfSubstance
- data LuminousIntensity = LuminousIntensity
- data PlaneAngle = PlaneAngle
- data SolidAngle = SolidAngle
- type Area = Length :^ Two
- type Volume = Length :^ Three
- type Velocity = Length :/ Time
- type Acceleration = Velocity :/ Time
- type Wavenumber = Length :^ MOne
- type Density = Mass :/ Volume
- type SurfaceDensity = Mass :/ Area
- type SpecificVolume = Volume :/ Mass
- type CurrentDensity = Current :/ Area
- type MagneticStrength = Current :/ Length
- type Concentration = AmountOfSubstance :/ Volume
- type Luminance = LuminousIntensity :/ Area
- type Frequency = Time :^ MOne
- type Force = Mass :* Acceleration
- type Pressure = Force :/ Area
- type Energy = Force :* Length
- type Power = Energy :/ Time
- type Charge = Current :* Time
- type ElectricPotential = Power :/ Current
- type Capacitance = Charge :/ ElectricPotential
- type Resistance = ElectricPotential :/ Current
- type Conductance = Current :/ ElectricPotential
- type MagneticFlux = ElectricPotential :* Time
- type MagneticFluxDensity = MagneticFlux :/ Area
- type Inductance = MagneticFlux :/ Current
- type LuminousFlux = LuminousIntensity
- type Illuminance = LuminousIntensity :/ Area
- type Kerma = Area :/ (Time :^ Two)
- type CatalyticActivity = AmountOfSubstance :/ Time
- type Momentum = Mass :* Velocity
- type AngularVelocity = PlaneAngle :/ Time
Documentation
Instances
Dimension Length Source # | |
Defined in Data.Dimensions.SI type DimFactorsOf Length :: [Factor Type] # | |
type DimFactorsOf Length Source # | |
Defined in Data.Dimensions.SI | |
type DefaultUnitOfDim Length Source # | |
Defined in Data.Metrology.SI.Mono |
Instances
Dimension Mass Source # | |
Defined in Data.Dimensions.SI type DimFactorsOf Mass :: [Factor Type] # | |
type DimFactorsOf Mass Source # | |
Defined in Data.Dimensions.SI | |
type DefaultUnitOfDim Mass Source # | |
Defined in Data.Metrology.SI.Mono |
Instances
Dimension Time Source # | |
Defined in Data.Dimensions.SI type DimFactorsOf Time :: [Factor Type] # | |
type DimFactorsOf Time Source # | |
Defined in Data.Dimensions.SI | |
type DefaultUnitOfDim Time Source # | |
Defined in Data.Metrology.SI.Mono |
Instances
Dimension Current Source # | |
Defined in Data.Dimensions.SI type DimFactorsOf Current :: [Factor Type] # | |
type DimFactorsOf Current Source # | |
Defined in Data.Dimensions.SI | |
type DefaultUnitOfDim Current Source # | |
Defined in Data.Metrology.SI.Mono |
data Temperature Source #
Instances
Dimension Temperature Source # | |
Defined in Data.Dimensions.SI type DimFactorsOf Temperature :: [Factor Type] # | |
type DimFactorsOf Temperature Source # | |
Defined in Data.Dimensions.SI | |
type DefaultUnitOfDim Temperature Source # | |
Defined in Data.Metrology.SI.Mono |
data AmountOfSubstance Source #
Instances
Dimension AmountOfSubstance Source # | |
Defined in Data.Dimensions.SI type DimFactorsOf AmountOfSubstance :: [Factor Type] # | |
type DimFactorsOf AmountOfSubstance Source # | |
Defined in Data.Dimensions.SI | |
type DefaultUnitOfDim AmountOfSubstance Source # | |
Defined in Data.Metrology.SI.Mono |
data LuminousIntensity Source #
Instances
Dimension LuminousIntensity Source # | |
Defined in Data.Dimensions.SI type DimFactorsOf LuminousIntensity :: [Factor Type] # | |
type DimFactorsOf LuminousIntensity Source # | |
Defined in Data.Dimensions.SI | |
type DefaultUnitOfDim LuminousIntensity Source # | |
Defined in Data.Metrology.SI.Mono |
data PlaneAngle Source #
A plane angle is dimensionless; alternatively, it has dimension length/length. It would be wrong to divide 2 meters by 1 meter and conclude that the quantity is 2 radians or degrees. To make plane angle safe to use, we define it as a fundamental dimension.
Instances
Dimension PlaneAngle Source # | |
Defined in Data.Dimensions.SI type DimFactorsOf PlaneAngle :: [Factor Type] # | |
type DimFactorsOf PlaneAngle Source # | |
Defined in Data.Dimensions.SI | |
type DefaultUnitOfDim PlaneAngle Source # | |
Defined in Data.Metrology.SI.Mono |
data SolidAngle Source #
As we did for plane angle, we must make solid angle a fundamental dimension to avoid programming mistakes.
A solid angle is a measure of the amount of the field of view from some particular point that a given object covers.
Instances
Dimension SolidAngle Source # | |
Defined in Data.Dimensions.SI type DimFactorsOf SolidAngle :: [Factor Type] # | |
type DimFactorsOf SolidAngle Source # | |
Defined in Data.Dimensions.SI | |
type DefaultUnitOfDim SolidAngle Source # | |
Defined in Data.Metrology.SI.Mono |
type Concentration = AmountOfSubstance :/ Volume Source #
type Capacitance = Charge :/ ElectricPotential Source #
type Resistance = ElectricPotential :/ Current Source #
type Conductance = Current :/ ElectricPotential Source #
type MagneticFlux = ElectricPotential :* Time Source #
type MagneticFluxDensity = MagneticFlux :/ Area Source #
type Inductance = MagneticFlux :/ Current Source #
type LuminousFlux = LuminousIntensity Source #
type Illuminance = LuminousIntensity :/ Area Source #
type CatalyticActivity = AmountOfSubstance :/ Time Source #
type AngularVelocity = PlaneAngle :/ Time Source #