Skip to content

JuliaAPlavin/IntervalUnions.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntervalUnions.jl

Extend IntervalSets.jl with interval unions -- unions of disjoint intervals. Not all operations are type-stable for now, this is subject to further improvements.

Examples

julia> iu = IntervalUnion((1..2., 3..4.))
1.0..2.0  3.0..4.0

julia> iu  (10..11.)
1.0..2.0  3.0..4.0  10.0..11.0

julia> setdiff(iu, 1.3..3)
1.0..1.3 (closed–open)  3.0..4.0 (open–closed)

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages