MixedUnit
MixedUnit[{unit1,unit2,…,unitn}]
represents a mixed-unit expression consisting of units unit1 through unitn.
Details
- MixedUnit is typically used in conjunction with MixedMagnitude in Quantity expressions.
- The uniti in MixedUnit[{unit1,…,unitn}] must have identical unit dimensions.
Examples
open allclose allBasic Examples (2)
Represent the mixed quantity 1 foot, 2 inches:
Use it in Quantity operations:
MixedUnit can be used as a target unit specification in functions like UnitConvert:
Scope (2)
MixedUnit can be used in conjunction with MixedMagnitude in Quantity expressions:
MixedUnit can be used in conjunction with MixedMagnitude in QuantityArray expressions:
Properties & Relations (9)
Additions of Quantity expressions involving MixedMagnitude and MixedUnit specifications automatically convert some of them:
QuantityDistribution automatically converts mixed Quantity expressions to non-mixed Quantity expressions:
MixedUnit specifications can be extracted using QuantityUnit:
KnownUnitQ returns True for valid MixedUnit specifications:
It returns False for invalid MixedUnit specifications:
CompatibleUnitQ returns True for MixedUnit specifications having identical unit dimensions:
It returns False for MixedUnit specifications having different unit dimensions:
Use UnitConvert to convert mixed Quantity expressions to non-mixed Quantity expressions:
Reproduce the results of DMSList:
Conversion into mixed units effectively performs a NumberDecompose operation:
Text
Wolfram Research (2016), MixedUnit, Wolfram Language function, https://reference.wolfram.com/language/ref/MixedUnit.html.
CMS
Wolfram Language. 2016. "MixedUnit." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MixedUnit.html.
APA
Wolfram Language. (2016). MixedUnit. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MixedUnit.html