The Dimensions class captures the physical dimensions associated with a unit of measure.
The mass component of the dimensions object.
The length component of the dimensions object.
The time component of the dimensions object.
The charge component of the dimensions object.
The temperature component of the dimensions object.
The amount component of the dimensions object.
The intensity component of the dimensions object.
The length component of the dimensions object.
The mass component of the dimensions object.
The charge component of the dimensions object.
The time component of the dimensions object.
The amount component of the dimensions object.
The intensity component of the dimensions object.
The temperature component of the dimensions object.
Q1
Q1T-1
L1
M1
All exponents are zero, a dimensionless quantity.
T1
Returns the dimensions if they are all equal, otherwise throws an Error
Divides dimensions by subtracting rational exponents.
this / rhs
Computes the multiplicative inverse of this dimensions number. This is achived by changing the signs of all the exponent quantities.
Determines whether all the exponents of this dimensions number are zero. This implies a dimensionless quantity.
true if all the exponents are zero, otherwise false.
Multiplies dimensions by adding rational exponents.
this * rhs
Intentionally undocumented.
Computes the power function by multiplying rational exponents.
pow(this, rhs)
Computes the square root by dividing each rational component by two.
Creates a representation of this Dimensions instance.
Keeps track of the dimensions of a physical quantity using seven rational exponents. Each of the exponents corresponds to a dimension in the S.I. system of units.