AngouriMath

Navigation

← Back to list of members

UniteIntervalAndInterval​(AngouriMath.​Entity.​Set.​Interval,​AngouriMath.​Entity.​Set.​Interval)

 Method (no overloads)

Summary

The union of two intervals: one interval where they overlap or touch, and as written
where they do not, or where that cannot be told.

Remarks

An empty interval adds nothing -- one whose left end is above its right, or at it with
an end open -- so [0; 1] \/ [1; 0] is [0; 1]. Two intervals that touch are
one only when neither is empty. Touching was tested first, so [1; 0], touching
[0; 1] at 0, was joined to it into { 1 }, and [a; b] \/ [b; a] into
{ b }. Ends that are not numbers do not say whether an interval is empty, unless
the ends are one expression closed at both or one end is infinite, as in
(-oo; x] \/ [x; +oo); otherwise the union is left as written.
https://github.com/asc-community/AngouriMath/issues/1634

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online