method SciMax Toolbox min

SciMax Toolbox >> metricexpandall

metricexpandall

Maxima Function

Calling Sequence

metricexpandall (x)

Description

Rebuilds global unit lists automatically creating all desired metric units. x is a numerical argument which is used to specify how many metric prefixes the user wishes defined. The arguments are as follows, with each higher number defining all lower numbers' units:

0 - none. Only base units
1 - kilo, centi, milli
(default)  2 - giga, mega, kilo, hecto, deka, deci, centi, milli,
    micro, nano
3 - peta, tera, giga, mega, kilo, hecto, deka, deci,
    centi, milli, micro, nano, pico, femto
4 - all

Normally, Maxima will not define the full expansion since this results in a very large number of units, but metricexpandall can be used to rebuild the list in a more or less complete fashion. The relevant variable in the unit.mac file is %unitexpand.

method SciMax Toolbox min