|
Calling Sequence
|
|
GetUnit(unit, opt1, opt2, ...)
|
|
Parameters
|
|
unit
|
-
|
symbol; unit name
|
opt1, opt2, ...
|
-
|
(optional) options names where opt1, opt2, ... are 'abbreviation', or 'abbreviations', 'context', 'conversion', 'default', 'plural', 'prefix', 'spelling', 'spellings', 'symbol', 'symbols'; specify options of the given unit
|
|
|
|
|
Description
|
|
•
|
The GetUnit(unit) function returns the default unit name and an expression sequence of equations for only the options that recreate the unit if given as options to the AddUnit function.
|
•
|
The GetUnit(unit, opt1, opt2, ...) function, where each opti is an option name, returns an expression sequence of equations indicating the values of only the opti specified in the calling sequence. For a description of each option, see Units,AddUnit.
|
•
|
The GetUnit(unit, 'context') function is a convenient way to determine the default context of unit.
|
|
|
Examples
|
|
Automatically loading the Units[Simple] subpackage
| |
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
|
|
|