Skip to content

RealNumbers vs RealLine #165

@Vaibhavdixit02

Description

@Vaibhavdixit02

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 for RealNumbers or RealLine

julia> using DomainSets

julia> d1 = DomainSets.RealNumbers()
RealNumbers()

julia> d2 = DomainSets.HalfLine()
0.0 .. Inf (closed-open) (HalfLine)

julia> issubset(d2, d1)
false

julia> d1 = DomainSets.RealLine()
-Inf .. Inf (open) (RealLine)

julia> issubset(d2, d1)
true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions