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.
Readonly LThe length component of the dimensions object.
Readonly MThe mass component of the dimensions object.
Readonly QThe charge component of the dimensions object.
Readonly TThe time component of the dimensions object.
Readonly amountThe amount component of the dimensions object.
Readonly intensityThe intensity component of the dimensions object.
Readonly temperatureThe temperature component of the dimensions object.
Static AMOUNTStatic CHARGEQ1
Static CURRENTQ1T-1
Static INTENSITYStatic LENGTHL1
Static MASSM1
Static ONEAll exponents are zero, a dimensionless quantity.
Static TEMPERATUREStatic TIMET1
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.
Multiplies dimensions by adding rational exponents.
this * rhs
Intentionally undocumented.
Computes the power function by multiplying rational exponents.
Computes the square root by dividing each rational component by two.
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.