UnitlessFlatten.jl

Deprecated in Favour of Flatten.jl: Struct flattening that strips Unitful units
Author rafaqz
Popularity
0 Stars
Updated Last
1 Year Ago
Started In
September 2018

Depreciated: this functionalithy has been rolled into Flatten.jl, with ulflatten, ulreconstruct and ulupdate! functions available if you load using Unitful.

UnitlessFlatten

Build Status Build status codecov.io

UnitlessFlatten.jl extends Flatten.jl to provide struct flattening that strips units. This can be far more efficient than simply stripping them afterwards as it improves type stability.

Simply use as you would use Flatten.jl, and types will be flattened to Unitless tuples or vectors, and reconstructed including the original units.

Used By Packages

No packages found.