Contains information for an attribute.
Define a new attribute.
The exponents of the attributes that make up this type
A valid LaTeX equation representing this attributes
Optional
Determines the base dimension measured by this type (overrides exponents)
exponents
Readonly
Contains the base dimensions for this attribute.
Protected
Combine two compounds by applying a factor on the second compound.
Another compount
The factor to use on the other compound
The combination of the two compounds
Determine the exponent on the specified unit or dimension.
The unit or dimension to retrieve the exponent from
The exponent
Return the common attribute name for this type, or undefined if none exist.
The common attribute name, if one exists
Generate an array of nonzero exponent units or dimensions.
An array of nonzero exponent units or dimensions
Determine whether two compounds contain the same units or dimensions.
Another compound
A boolean
Multiply this compound by another after applying an exponent on the second compound.
Another compound fraction
The exponent to apply on the other compound
The product of the two compounds
Determine the equivalent attribute type, else return this object.
The equivalent attribute type, if one exists
`mass` * `velocity^2` => `energy``time` * `time` => `time^2` // no equivalent Copy
`mass` * `velocity^2` => `energy``time` * `time` => `time^2` // no equivalent
Generate valid LaTeX code representing this compound.
A valid LaTeX equation
Contains information for an attribute.