ecl-logo Documentation

UnitBase

UnitBase[q]baseUnit

returns only the unit portion of the item in absence of the metric magnitude (sans the number and prefix).

UnitBase[UnitDimension]baseUnit

return only the unit portion of the item in absence of the metric magnitude (sans the number and prefix).

UnitBase[UnitDimension,All]baseUnitList

returns only the unit portion of the item in absence of the metric magnitude (sans the number and prefix).

Details

    Input
    Output
    Attributes
  • Listable

Examples

Basic Examples  (4)

Returns the base unit of any item:

Handles metric prefixes:

Convert dimension to base unit:

Convert dimension to all possible Units:

Additional Examples  (1)

Numeric values return 1:

Attributes  (1)

Listable  (1)

The function is listable: