pyinterval
pyinterval copied to clipboard
PyInterval — Interval arithmetic in Python
Is there a way to calculate the "length" of an interval ? To give an example the length of interval([1.0, 2.0], [3.0, 5.0]) would be 3.0.
Hello, First of all, thank you for pyinterval! This post is not really an issue but could be considered as an "ads", sorry for that ;-) Some days ago, I...
Thanks for making this interval package available publicly. I have found it useful for making "gold" datasets for verifying and benchmarking competing numerical algorithms to solve the same problem. I...
I need to write a method that tells me if a set of intervals is contained in another. When trying on a single interval like such: ``` import interval as...
Hi, Could you tell why the following error is being thrown? Are the operators used not able to handle this much precision? **Error1:** Traceback (most recent call last): File "c.py",...
I'm using the `pyinterval` package to represent unions of open intervals. Thus I would like to have an easy way to get rid of components whose `inf` and `sup` are...
Fix for arm (tested on macos) fpu rounding. Without this fix, rounding downward/upward don't work and some computations that should lead to very small intervals results in degenerated intervals.