How to do Interval Math in Maple 9

Hi, I want to carry out set-theoretic operations on real-line intervals.  For example

> [2,5] intersect [3,7];
 

Is there any package available for this and interval arithmetics?

Thanks.

Comments

gkokovidis's picture

Interval Math

See the following post.

 

Regards,
Georgios Kokovidis

Dräger Medical


set-theoretic operations on real-line intervals

Apparently, there is not really a package implementating these set operations,  but  there are some workarounds, eg using properties representing real intervals. Ie a "property algebra" representation. See these threads:

RealRange union - is there a better way?

unions of ranges?

change the arguments of functions

In this example:

AndProp(RealRange(2,5), RealRange(3,7));

                           RealRange(3, 5)

OrProp(RealRange(2,5), RealRange(3,7));

                           RealRange(2, 7)


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}