Math library for the Flow collection.