Physlib.SpaceAndTime.Space.LengthUnit
37 declarations
The numerical value of a length unit is non-zero ()
#val_ne_zeroFor any length unit , its underlying numerical value is not equal to .
The numerical value of a length unit is positive ()
#val_posFor any length unit , its underlying numerical value is strictly positive, satisfying .
Default is
#instInhabitedThe type , representing the set of physical length units (isomorphic to the positive real numbers ), is inhabited. A default instance is provided, which is defined as the length unit with the underlying value .
Division of length units as
#instHDivNNRealThe division operation for two length units is defined as the ratio of their underlying values , yielding a non-negative real number in .
for Length Units
#div_eq_valFor any length units with underlying numerical values and , the division is equal to the quotient of their values regarded as a non-negative real number in .
for length units
#div_ne_zeroFor any length units , the ratio is not equal to in the non-negative real numbers .
for length units
#div_posFor any length units , the ratio is strictly greater than in the non-negative real numbers .
for length units
#div_selfFor any length unit , the ratio of to itself, denoted by , is equal to in the non-negative real numbers .
for length units
#div_symmFor any length units , the ratio of to is equal to the reciprocal of the ratio of to . Mathematically, this is expressed as: where the division denotes the ratio of the underlying numerical values of the length units, resulting in a non-negative real number in .
for length units
#div_mul_div_coeFor any length units and , the product of the ratio of to and the ratio of to is equal to the ratio of to . Mathematically, this is expressed as , where the division denotes the ratio of the underlying scales of the length units, treated here as real numbers.
for positive
#scale_div_selfFor any length unit and any positive real number (where ), the ratio of the unit scaled by to the original unit is equal to . Mathematically, this is expressed as: where the division denotes the ratio of the underlying scales of the length units, resulting in a non-negative real number .
for length units
#self_div_scaleLet be a length unit (an element of `LengthUnit`) and be a positive real number (). The ratio of the length unit to the scaled unit is equal to the reciprocal of the scaling factor, : In this expression, the division of length units and the resulting value are treated as non-negative real numbers in .
Let be a length unit (an element of `LengthUnit`, which corresponds to the set of positive real numbers ). Scaling the length unit by a factor of results in the original unit :
Let and be length units (elements of `LengthUnit`, which corresponds to the set of positive real numbers ). For any two positive real numbers such that and , the ratio of the scaled unit to the scaled unit is equal to the product of the ratio of the scaling factors and the ratio of the original units : Here, the division of length units and the scaling factors are treated as non-negative real numbers in .
Let be a length unit (an element of `LengthUnit`, which corresponds to the set of positive real numbers ). For any two positive real numbers such that and , scaling the unit by and then scaling the resulting unit by is equivalent to scaling the original unit by the product :
The length unit "meters" ()
#metersThe length unit "meters" is defined as the element of the type `LengthUnit` (which represents the set of positive real numbers ) that corresponds to the value . This serves as the base reference unit from which other length units are scaled.
The length unit of femtometers ( m)
#femtometersThe length unit "femtometers" is defined as an element of the type `LengthUnit`, which represents the set of positive real numbers . It is obtained by scaling the base unit `meters` by a factor of . In the underlying representation where one meter is assigned the value , a femtometer corresponds to the value .
The length unit of picometers ( m)
#picometersThe length unit "picometers" is defined as an element of the type `LengthUnit`, which represents the set of positive real numbers . It is obtained by scaling the base unit `meters` by a factor of . In the underlying representation where one meter is assigned the value , a picometer corresponds to the value .
The length unit of nanometers ( m)
#nanometersThe length unit "nanometers" is defined as an element of the type `LengthUnit`, which represents the set of positive real numbers . It is obtained by scaling the base unit `meters` by a factor of . In the underlying representation where one meter is assigned the value , a nanometer corresponds to the value .
The length unit of micrometers ( m)
#micrometersThe length unit "micrometers" is an element of the type `LengthUnit` (representing the set of positive real numbers ) defined by scaling the base unit `meters` by a factor of . It corresponds to the value in the underlying representation where `meters` is assigned the value .
The length unit of millimeters ( m)
#millimetersThe length unit "millimeters" is an element of the type `LengthUnit` (which represents the set of positive real numbers ) defined by scaling the base unit `meters` by a factor of . It corresponds to the value in the underlying representation where one meter is assigned the value .
The length unit of centimeters ( m)
#centimetersThe length unit "centimeters" is an element of the type `LengthUnit` (representing the set of positive real numbers ) defined by scaling the base unit `meters` by a factor of , or . It corresponds to the value in the underlying representation where `meters` is assigned the value .
The length unit of inches ( m)
#inchesThe length unit "inches" is an element of the type `LengthUnit` (representing the set of positive real numbers ) defined by scaling the base unit `meters` by a factor of . It corresponds to the value in the underlying representation where `meters` is assigned the value .
The length unit of links ( m)
#linksThe length unit "links" is defined as an element of the type `LengthUnit` (representing the set of positive real numbers ) obtained by scaling the base unit "meters" by a factor of .
The length unit "feet" ( meters)
#feetThe length unit "feet" is defined as an element of the type `LengthUnit` (representing the set of positive real numbers ) obtained by scaling the base unit "meters" by a factor of . In the underlying representation where "meters" corresponds to the value , "feet" corresponds to the value .
The length unit "yards" ( meters)
#yardsThe length unit "yards" is defined as an element of the type `LengthUnit` (representing the set of positive real numbers ) obtained by scaling the base unit "meters" by a factor of .
Length unit of rods ( meters)
#rodsThe length unit "rods" is defined as the element of the type `LengthUnit` (representing the set of positive real numbers ) obtained by scaling the reference unit "meters" by a factor of . In the underlying representation of length units as positive reals, this corresponds to the value .
Length unit of chains ( meters)
#chainsThe length unit "chains" is defined as the element of the type `LengthUnit` (representing the set of positive real numbers ) obtained by scaling the reference unit "meters" by a factor of . In the underlying representation where "meters" corresponds to , "chains" corresponds to the value .
Length unit of furlongs ( meters)
#furlongsThe length unit "furlongs" is defined as the element of the type `LengthUnit` (which represents the set of positive real numbers ) obtained by scaling the reference unit "meters" by a factor of . In the underlying representation of length units as positive reals, this corresponds to the value .
Length unit of kilometers ( meters)
#kilometersThe length unit "kilometers" is defined as the element of the type `LengthUnit` (representing the set of positive real numbers ) obtained by scaling the reference unit "meters" by a factor of . In the underlying representation where "meters" corresponds to , "kilometers" corresponds to the value .
Length unit of miles ()
#milesThe length unit "miles" is defined as the element of the type `LengthUnit` (representing the set of positive real numbers ) obtained by scaling the reference unit "meters" by a factor of . In the underlying representation where "meters" corresponds to the value , "miles" corresponds to the value .
The length unit "nautical miles" ()
#nauticalMilesThe length unit "nautical miles" is defined as the element of the type `LengthUnit` (representing the set of positive real numbers ) obtained by scaling the reference unit "meters" by a factor of . In the underlying representation where "meters" corresponds to the value , "nautical miles" corresponds to the value .
The length unit "astronomical units" ()
#astronomicalUnitsThe length unit "astronomical units" is defined as the scaling of the base unit "meters" by a factor of . Within the `LengthUnit` type, which represents the set of positive real numbers (where "meters" corresponds to the value ), this unit corresponds to the value .
The length unit "light years" ()
#lightYearsThe length unit "light years" is defined as the scaling of the base unit "meters" by a factor of . Within the `LengthUnit` type, which represents positive real numbers , this unit corresponds to the value .
The length unit "parsecs" ()
#parsecsThe length unit "parsecs" is defined as the scaling of the unit "astronomical units" by a factor of . Within the `LengthUnit` type, which represents the set of positive real numbers (where the unit "meters" corresponds to the value ), this unit represents the value of a parsec relative to the base meter, calculated by multiplying the value of an astronomical unit () by .
The ratio of the length unit `miles` to the length unit `yards` is equal to in the non-negative real numbers . This represents the fact that there are exactly 1760 yards in a mile.
There are exactly 220 yards in a furlong. Formally, the ratio of the length unit "furlongs" to the length unit "yards" is equal to the non-negative real number 220, denoted as .
