Units
GetDimension
return dimension as a product of powers of base dimensions
Calling Sequence
Parameters
Description
Examples
GetDimension(dim)
dim
-
symbol; dimension
The function GetDimension(dim) returns the argument for a base dimension, and the product of powers of base dimensions for any other dimension.
with⁡Units:
Automatically loading the Units[Simple] subpackage
GetDimension⁡'length'
length
GetDimension⁡'speed'
lengthtime
GetDimension⁡'acceleration'
lengthtime2
GetDimension⁡'surge'
Error, (in Units:-GetDimension) a dimension with name `surge` does not exist
AddDimension⁡'surge'='length''time'3
lengthtime3
See Also
convert/dimensions
Units/Commands
Units/Index
Units[AddDimension]
Units[GetDimensions]
Units[HasDimension]
Units[RemoveDimension]
Download Help Document