Pacioli

A statically typed unit-aware matrix language

View project on GitHub

Unit Notation


Unit expressions are enclosed in pipes like |...|. At the dots any matrix type can occur.

Units expressions are build from base units, scaling with prefixes and multiplication and inverse.

define foo = 12*|kilo:gram*metre/second^2|;

A matrix type surrounded by pipes is a unit expression. For example |metre| or |Foo!unit per Foo!|.