Concrete dimensions are obtained through the Unit#getDimension() method.
Two units u1 and u2 are compatible if and only if
u1.getDimension().equals(u2.getDimension()).
Unit, Wikipedia: Dimensional Analysis
| Modifier and Type | Method and Description |
|---|---|
| public Dimension | |
| public Map | Returns: the mapping between the fundamental dimensions and their exponent.Returns the (fundamental) base dimensions and their exponent whose product is this dimension, or |
| public Dimension | |
| public Dimension | Returns: thisnpower to raise this n)Dimension to.Returns this dimension raised to an exponent. |
| public Dimension | Returns: the result of taking the given root of this dimension.the root's order. n)Returns the given root of this dimension. |
| divide | back to summary |
|---|---|
| public Dimension divide(Dimension divisor) Returns the quotient of this dimension with the one specified. | |
| getBaseDimensions | back to summary |
|---|---|
| public Map Returns the (fundamental) base dimensions and their exponent whose product is this dimension, or | |
| multiply | back to summary |
|---|---|
| public Dimension multiply(Dimension multiplicand) Returns the product of this dimension with the one specified. | |
| pow | back to summary |
|---|---|
| public Dimension pow(int n) Returns this dimension raised to an exponent.
| |
| root | back to summary |
|---|---|
| public Dimension root(int n) Returns the given root of this dimension.
| |