fslaborg / FSharp.Stats

statistical testing, linear algebra, machine learning, fitting and signal processing in F#
https://fslab.org/FSharp.Stats/
Other
205 stars 54 forks source link

[Feature Request] Support intersect on mixed interval types #324

Closed kevmal closed 2 months ago

kevmal commented 2 months ago

Currently:

let i1 = Interval.CreateRightOpen(4,7)
let i2 = Interval.CreateLeftOpen(7,10)

Interval.intersect i1 i2

Throws an exception "Intersection of mixed interval types is not supported!".

Feature request is to add support for mixed interval types.