-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RealNumbers
vs RealLine
#165
Comments
That's a good point, thanks for raising the issue. I guess the short answer is that these two domains were developed at different times in different contexts. But they should interoperate better. The technical reason that one works with HalfLine does and the other one doesn't, is that RealLine is implemented as a subtype of an interval and RealNumbers isn't. One improvement may be to implement Yet that wouldn't work for the other sets, i.e., one might also want that the rational numbers are a subset of the real line. Functionality like Separately, one can wonder whether the package needs both |
I'll put this on a todo list. Feel free to have a go at it if you like @Vaibhavdixit02. I'm thinking of implementations like the one here: DomainSets.jl/src/domains/interval.jl Line 422 in 4e36278
Functions to look at include |
Coming back to the original question/confusion:
For now, |
I am a little confused about what the difference between the two is meant to be? What tripped me was this subset checking of
HalfLine
forRealNumbers
orRealLine
The text was updated successfully, but these errors were encountered: