Skip to main content
Version: v0.0.4

Interface: LinearReduction

A unit reduced to base dimensions: a scalar factor times a map of dimension axis → exponent. Dimension keys are the seven UCUM base symbols (m s g rad K C cd) plus arb:<code> axes for arbitrary units. Two linear forms are the same unit iff equal dims and equal factor.

Properties

dims

readonly dims: Readonly<Record<string, number>>

Dimension axis → non-zero exponent (zero exponents omitted).


factor

readonly factor: number

The accumulated scalar factor in base units.


kind

readonly kind: "linear"