Skip to content

Unify the classes RealSet and UnionOfIntervals #16063

@pjbruin

Description

@pjbruin

The following two classes were introduced almost simultaneously:

  • sage.sets.real_set.RealSet in Reals sets consisting of intervals and isolated points #13125, which implements finite unions of open/closed/semi-closed intervals;
  • sage.schemes.elliptic_curves.height.UnionOfIntervals in Lower height bound for elliptic curves #8828, which has a more restricted scope (only unions of closed intervals).
    It would be reasonable if these two classes were merged, and if all the functionality of UnionOfIntervals that is not yet in RealSet were moved there (e.g. scaling, computing the endpoints/boundary).

Depends on #8828
Depends on #13125

CC: @sagetrac-ares @JohnCremona @robertwb @vbraun @rwst @tscrim

Component: calculus

Keywords: real intervals

Author: Matthias Koeppe

Branch/Commit: 2191e2a

Reviewer: Ralf Stephan

Issue created by migration from https://trac.sagemath.org/ticket/16063

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions