DimensionfulQuantity Operators |
The DimensionfulQuantity type exposes the following members.
Operators | Name | Description |
---|
| Addition(DimensionfulQuantity, DimensionfulQuantity) | |
| Division(DimensionfulQuantity, DimensionfulQuantity) | |
| Division(DimensionfulQuantity, Double) | |
| Division(Double, DimensionfulQuantity) | |
| Equality(DimensionfulQuantity, DimensionfulQuantity) | |
| GreaterThan(DimensionfulQuantity, DimensionfulQuantity) | |
| GreaterThanOrEqual(DimensionfulQuantity, DimensionfulQuantity) | |
| Inequality(DimensionfulQuantity, DimensionfulQuantity) | |
| LessThan(DimensionfulQuantity, DimensionfulQuantity) | |
| LessThanOrEqual(DimensionfulQuantity, DimensionfulQuantity) | |
| Multiply(DimensionfulQuantity, DimensionfulQuantity) | |
| Multiply(DimensionfulQuantity, Double) | |
| Multiply(Double, DimensionfulQuantity) | |
| Subtraction(DimensionfulQuantity, DimensionfulQuantity) |
Implements the subtraction operator. Here, the intended operation is ambiguous if we subtract a biased unit and an unbiased unit. The result
can be treated either as biased or unbiased. For example:
20°C minus 20 Kelvin. The result is either 293.15 K - 20 K = 273.15 K or 20°C - 20 K = 0 °C (biased). Although the same, this
results in difficulties if subsequently rates are calculated from this result.
Because of that, the decision was made to treat the result as unbiased value.
|
| UnaryNegation(DimensionfulQuantity) | |
TopSee Also