Closed connellybarnes closed 7 years ago
With the version currently in master it is now possible to take the absolute value of an interval:
>>> abs(interval.interval[-1,1])
interval([0.0, 1.0])
Release 1.2.0 now adds support for the abs
function.
Calling abs() on an interval currently does not result in the interval's absolute value:
However, this is easy to implement! This is a function I used: