30.11.2014 Views

Interval arithmetic - SciPy Conferences

Interval arithmetic - SciPy Conferences

Interval arithmetic - SciPy Conferences

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Interval</strong>s in Python (1)<br />

>>> k = interval([0, 1], [2, 3], [10, 15])<br />

>>> interval[1, 2]<br />

interval([1.0, 2.0])<br />

>>> interval(1, 2)<br />

interval([1.0], [2.0])<br />

k = [0, 1] ∪ [2, 3] ∪ [10, 15]<br />

>>> interval(1), interval[1]<br />

(interval([1.0]), interval([1.0]))<br />

10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!