Units[Converter] - Maple Help

Home : Support : Online Help : Science and Engineering : Units : Unit Converter : Units/Converter/MakeConverter

Units[Converter]

 MakeConverter
 rebuild the Unit Converter database

 Calling Sequence MakeConverter()

Description

 • The MakeConverter() function builds the Unit Converter database.  This procedure is called by the AddDimension, RemoveDimension, AddUnit, and RemoveUnit functions unless the make = false option is included in the calling sequence.

Examples

 > $\mathrm{with}\left(\mathrm{Units}[\mathrm{Converter}]\right):$
 > $\mathrm{AddUnit}\left('m','\mathrm{display}'="metres",'\mathrm{make}'=\mathrm{false}\right)$
 > $\mathrm{AddUnit}\left(\frac{'m'}{'s'},'\mathrm{display}'="metres per second",'\mathrm{make}'=\mathrm{false}\right)$
 > $\mathrm{AddUnit}\left(\frac{'m'}{{'s'}^{2}},'\mathrm{display}'="metres per square second",'\mathrm{make}'=\mathrm{false}\right)$
 > $\mathrm{AddUnit}\left('\mathrm{cm}','\mathrm{display}'="centimetres",'\mathrm{make}'=\mathrm{false}\right)$
 > $\mathrm{AddUnit}\left(\frac{'\mathrm{cm}'}{'s'},'\mathrm{display}'="centimetre per second",'\mathrm{make}'=\mathrm{false}\right)$
 > $\mathrm{AddUnit}\left(\frac{'\mathrm{cm}'}{{'s'}^{2}},'\mathrm{display}'="centimetre per square second",'\mathrm{make}'=\mathrm{false}\right)$
 > $\mathrm{MakeConverter}\left(\right)$