The intervals in a RealSet already have these methods.
It would also be nice to be able to compute closure and interior relative to a given larger RealSet.
sage: RealSet((1, 2)).closure(relative_to=RealSet((0, 2)) # wishful thinking
[1, 2)
One could also imagine that these should be methods of the real fields (such as RR) considered as a members of the category TopologicalSpaces.
Depends on #31880
CC: @rwst @vbraun @pjbruin @tscrim @mjungmath @yuan-zhou
Component: basic arithmetic
Author: Matthias Koeppe
Branch/Commit: 9d41f0e
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/21243