Physlib.Units.LTMCTDimensionBase
PhysLib's default dimension basis
`LTMCTDimensionBase` is PhysLib's default basis of base dimensions — length, time, mass, charge and temperature. `Dimension LTMCTDimensionBase` is the familiar five-exponent dimension, and this module provides the concrete API on top of the generic `Dimension B`:
* the `.length`, `.time`, `.mass`, `.charge`, `.temperature` exponent projections; * the `ofLTMCTDimensionBase` constructor from five exponents; and * the named generators `L𝓭`, `T𝓭`, `M𝓭`, `C𝓭`, `Θ𝓭`, shown to be the generic `single` base vectors.
This basis is *charge*-based with five generators, so it is deliberately **not** the SI/ISQ base-quantity set (which takes electric current as base and adds amount of substance and luminous intensity); see `ISQDimensionBase`.
The LTMCTDimensionBase projections
The five base-dimension exponents of a `Dimension LTMCTDimensionBase`, provided so that the familiar `.length`, `.time`, `.mass`, `.charge`, `.temperature` API is available.
The named generators are the base vectors
Each named generator `L𝓭`, `T𝓭`, … is the generic `single` base vector at the corresponding base dimension, exhibiting them as instances of the basis-generic API.
20 declarations
Default basis of base dimensions ()
The type `LTMCTDimensionBase` is an inductive type representing the five base physical dimensions used as the default basis in PhysLib: length (), time (), mass (), charge (), and temperature (). This basis is specifically constructed to be charge-based rather than current-based, distinguishing it from the standard SI/ISQ base-quantity set.
Equality on `LTMCTDimensionBase` is decidable
For any two base dimensions in the set represented by the type `LTMCTDimensionBase`, it is algorithmically decidable whether . This set comprises the five base physical dimensions: length (), time (), mass (), charge (), and temperature ().
`LTMCTDimensionBase` is a finite type
The type `LTMCTDimensionBase`, which represents the set of five base physical dimensions—length (), time (), mass (), charge (), and temperature ()—is a finite type.
Length exponent of a dimension
The function maps a physical dimension to the rational number representing its exponent of the base dimension of length.
Time exponent of a dimension
The function maps a physical dimension to a rational number representing the exponent of the base dimension of time within that dimension.
Mass exponent of a dimension
Given a physical dimension , the function returns the rational number representing the exponent of the mass base dimension in the dimensional representation of .
The charge exponent of a dimension
Given a physical dimension , this function returns the rational number representing the exponent of the charge component in the dimensional representation of .
Temperature exponent of a physical dimension
The function maps a physical dimension to the rational number representing the exponent of thermodynamic temperature (often denoted by the symbol ) in its decomposition into base dimensions.
Construct a physical dimension from exponents of
Given five rational numbers , this function constructs a physical dimension in the basis (representing length, time, mass, charge, and temperature) such that the exponents of its base components are respectively and . Symbolically, this represents the dimension .
The length exponent of is
For any rational numbers , the length exponent of the physical dimension constructed from these exponents (representing length, time, mass, charge, and temperature respectively) is equal to . Symbolically, .
Time exponent of equals
For any rational numbers , the time exponent of the physical dimension (constructed via `ofLTMCTDimensionBase`) is equal to .
The mass exponent of a dimension is
For any rational numbers , the mass exponent of the physical dimension constructed with exponents (representing the dimension ) is equal to .
The charge exponent of is
For any rational numbers , the charge exponent of the physical dimension constructed with these five values as the exponents for length, time, mass, charge, and temperature respectively, is equal to .
Temperature exponent of is
For any rational numbers and , the temperature exponent of the physical dimension (constructed via the basis) is equal to .
The temperature component of 's exponent vector is
For any physical dimension represented in the basis (comprising length, time, mass, charge, and temperature), the temperature component of its exponent vector is equal to its temperature projection .
is the single basis vector for length
The physical dimension of length is equal to the single basis vector corresponding to the base dimension of length, denoted as . This represents a dimension vector where the exponent for length is and all other base dimensions (time, mass, charge, and temperature) have an exponent of .
The time dimension is equal to the basis vector . Here, represents the dimension vector where the exponent for the time dimension is and the exponents for all other base dimensions (length, mass, charge, and temperature) are .
The mass dimension is the base vector for the mass dimension
In the LTMCT (Length, Time, Mass, Charge, Temperature) dimension basis, the named mass dimension generator is equal to the base vector corresponding to the mass dimension (the vector where the exponent of mass is 1 and all other exponents are 0).
The physical dimension of electric charge, denoted as , is equal to the basis vector in the (length, time, mass, charge, temperature) system that has a unit exponent for the charge dimension and zero for all other base dimensions.
equals the single basis vector for temperature
In the dimension system, the base dimension for thermodynamic temperature, denoted as , is equal to the basis vector created by the `single` function for the temperature component (representing a dimension vector where the temperature exponent is 1 and all other exponents—length, time, mass, and charge—are 0).
