Instances15Generic1, Eq, Floating, Fractional, Data, Num, …
Generic1 IntervalDefined in intervals-0.9.2 · Numeric.Interval.NonEmpty.InternalEq a => Eq (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.Internal(RealFloat a, Ord a) => Floating (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.InternalTranscendental functions for intervals.
Property conservative (exp :: Double -> Double) expProperty conservativeExceptNaN (log :: Double -> Double) logProperty conservative (sin :: Double -> Double) sinProperty conservative (cos :: Double -> Double) cosProperty conservative (tan :: Double -> Double) tanProperty conservativeExceptNaN (asin :: Double -> Double) asinProperty conservativeExceptNaN (acos :: Double -> Double) acosProperty conservative (atan :: Double -> Double) atanProperty conservative (sinh :: Double -> Double) sinhProperty conservative (cosh :: Double -> Double) coshProperty conservative (tanh :: Double -> Double) tanhProperty conservativeExceptNaN (asinh :: Double -> Double) asinhProperty conservativeExceptNaN (acosh :: Double -> Double) acoshProperty conservativeExceptNaN (atanh :: Double -> Double) atanhExample1 expression cos (0 ... (pi + 0.1))-1.0 ... 1.0
(Fractional a, Ord a) => Fractional (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.InternalFractional instance for intervals.
Property ys /= singleton 0 ==> conservative2 ((/) :: Double -> Double -> Double) (/) xs ysProperty xs /= singleton 0 ==> conservative (recip :: Double -> Double) recip xsData a => Data (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.Internal(Num a, Ord a) => Num (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.InternalNum instance for intervals.
Property conservative2 ((+) :: Double -> Double -> Double) (+)Property conservative2 ((-) :: Double -> Double -> Double) (-)Property conservative2 ((*) :: Double -> Double -> Double) (*)Property conservative (abs :: Double -> Double) absOrd a => Ord (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.InternalReal a => Real (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.InternalrealToFrac will use the midpoint
RealFloat a => RealFloat (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.InternalWe have to play some semantic games to make these methods make sense. Most compute with the midpoint of the interval.
RealFrac a => RealFrac (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.InternalShow a => Show (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.InternalGeneric (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.InternalOrd a => Semigroup (Interval a)Defined in intervals-0.9.2 · Numeric.Interval.NonEmpty.Internaltype Rep (Interval a) = D1 ('MetaDataDefined in intervals-0.9.2 · Numeric.Interval.NonEmpty.Internal"Interval"
"Numeric.Interval.NonEmpty.Internal"
"intervals-0.9.2-GszllUVeoea4WIEuxTLFCE"
'False) (C1 ('MetaCons"I"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a)))type Rep1 Interval = D1 ('MetaDataDefined in intervals-0.9.2 · Numeric.Interval.NonEmpty.Internal"Interval"
"Numeric.Interval.NonEmpty.Internal"
"intervals-0.9.2-GszllUVeoea4WIEuxTLFCE"
'False) (C1 ('MetaCons"I"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) Par1 :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) Par1))