CommonUnits
CommonUnits[{quantity1,quantity2,…,quantityn}]
converts quantity1 through quantityn to common units across compatible dimensions.
Details
- CommonUnits will convert the input list's units to a common unit for each subset of input units with common dimensions.
- CommonUnits uses heuristic methods to determine a unit that best fits the input data.
- Operations involving currency units require internet connectivity.
Examples
open allclose allBasic Examples (2)
Scope (4)
Use CommonUnits with a list of Quantity objects:
Use CommonUnits with a QuantityArray object:
CommonUnits can convert quantities with IndependentUnit specifications:
CommonUnits can convert mixed quantities:
Properties & Relations (3)
CommonUnits converts quantities sharing the same UnitDimensions:
CommonUnits acts on subsets of quantities sharing the same UnitDimensions:
CommonUnits converts quantities with dimensionless units to pure numbers:
Text
Wolfram Research (2012), CommonUnits, Wolfram Language function, https://reference.wolfram.com/language/ref/CommonUnits.html.
CMS
Wolfram Language. 2012. "CommonUnits." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CommonUnits.html.
APA
Wolfram Language. (2012). CommonUnits. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CommonUnits.html