Interval.FloatInterval (Interval v2.0.0-alpha.1)
View SourceRepresents a continuous interval containing Float
Defines a struct with two fields, left and right, representing the left and right endpoints of the interval.
The endpoint fields are of type t:Interval.endpoint(Float)
This module delegates most functionality to the Interval module.
Summary
Functions
Callback implementation for Interval.Behaviour.discrete?/0.
Callback implementation for Ecto.Type.embed_as/1.
Callback implementation for Ecto.Type.equal?/2.
Callback implementation for Interval.Behaviour.new/1.
Callback implementation for Interval.Behaviour.new/3.
Callback implementation for Interval.Behaviour.point_compare/2.
Callback implementation for Interval.Behaviour.point_normalize/1.
Callback implementation for Interval.Behaviour.point_step/2.
Types
Functions
See Interval.contains?/2.
@spec discrete?() :: false
Callback implementation for Interval.Behaviour.discrete?/0.
Callback implementation for Ecto.Type.embed_as/1.
See Interval.empty?/1.
Callback implementation for Ecto.Type.equal?/2.
See Interval.left/1.
Callback implementation for Interval.Behaviour.new/1.
@spec new(left :: point_type(), right :: point_type(), bounds :: Interval.strbounds()) :: t()
Callback implementation for Interval.Behaviour.new/3.
See Interval.overlaps?/2.
See Interval.partition/2.
Callback implementation for Interval.Behaviour.point_compare/2.
Callback implementation for Interval.Behaviour.point_normalize/1.
@spec point_step(point_type(), integer()) :: nil
Callback implementation for Interval.Behaviour.point_step/2.
See Interval.right/1.
See Interval.union/2.