aern2-mp-0.2.16.1: Multi-precision ball (interval) arithmetic
Copyright(c) Michal Konecny
LicenseBSD3
Maintainer[email protected]
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

AERN2.MP.Ball.Comparisons

Description

Comparisons of arbitrary precision dyadic balls

Synopsis

Auxiliary types

module AERN2.Norm

Ball operations (see also instances)

reducePrecionIfInaccurate :: MPBall -> MPBall Source #

Reduce the precision of the ball centre if the accuracy of the ball is poor.

More precisely, reduce the precision of the centre so that the ulp is approximately (radius / 1024), unless the ulp is already lower than this.

Helpers for constructing ball functions

byEndpointsMP :: (MPFloat -> MPFloat -> MPFloat) -> MPBall -> MPBall -> MPBall Source #

Compute an MPBall function from *exact* MPFloat operations on interval endpoints. This works only for *non-decreasing* operations, eg addition, min, max.

intersection and hull

Orphan instances

CanTestInteger MPBall Source # 
Instance details

CanTestZero MPBall Source # 
Instance details

CanTestPosNeg MPBall Source # 
Instance details

CanIntersectAsymmetric MPBall MPBall Source # 
Instance details

Associated Types

type IntersectionType MPBall MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

CanUnionAsymmetric MPBall MPBall Source # 
Instance details

Associated Types

type UnionType MPBall MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasEqAsymmetric MPBall MPBall Source # 
Instance details

Associated Types

type EqCompareType MPBall MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasEqAsymmetric MPBall Dyadic Source # 
Instance details

Associated Types

type EqCompareType MPBall Dyadic 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasEqAsymmetric MPBall Rational Source # 
Instance details

Associated Types

type EqCompareType MPBall Rational 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasEqAsymmetric MPBall Integer Source # 
Instance details

Associated Types

type EqCompareType MPBall Integer 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasEqAsymmetric MPBall Int Source # 
Instance details

Associated Types

type EqCompareType MPBall Int 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasEqAsymmetric Dyadic MPBall Source # 
Instance details

Associated Types

type EqCompareType Dyadic MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasEqAsymmetric Rational MPBall Source # 
Instance details

Associated Types

type EqCompareType Rational MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasEqAsymmetric Integer MPBall Source # 
Instance details

Associated Types

type EqCompareType Integer MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasEqAsymmetric Int MPBall Source # 
Instance details

Associated Types

type EqCompareType Int MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

CanMinMaxAsymmetric MPBall MPBall Source # 
Instance details

Associated Types

type MinMaxType MPBall MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

CanMinMaxAsymmetric MPBall Dyadic Source # 
Instance details

Associated Types

type MinMaxType MPBall Dyadic 
Instance details

Defined in AERN2.MP.Ball.Comparisons

CanMinMaxAsymmetric MPBall Rational Source # 
Instance details

Associated Types

type MinMaxType MPBall Rational 
Instance details

Defined in AERN2.MP.Ball.Comparisons

CanMinMaxAsymmetric MPBall Integer Source # 
Instance details

Associated Types

type MinMaxType MPBall Integer 
Instance details

Defined in AERN2.MP.Ball.Comparisons

CanMinMaxAsymmetric MPBall Int Source # 
Instance details

Associated Types

type MinMaxType MPBall Int 
Instance details

Defined in AERN2.MP.Ball.Comparisons

CanMinMaxAsymmetric Dyadic MPBall Source # 
Instance details

Associated Types

type MinMaxType Dyadic MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

CanMinMaxAsymmetric Rational MPBall Source # 
Instance details

Associated Types

type MinMaxType Rational MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

CanMinMaxAsymmetric Integer MPBall Source # 
Instance details

Associated Types

type MinMaxType Integer MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

CanMinMaxAsymmetric Int MPBall Source # 
Instance details

Associated Types

type MinMaxType Int MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasOrderAsymmetric MPBall MPBall Source # 
Instance details

Associated Types

type OrderCompareType MPBall MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasOrderAsymmetric MPBall Dyadic Source # 
Instance details

Associated Types

type OrderCompareType MPBall Dyadic 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasOrderAsymmetric MPBall Rational Source # 
Instance details

Associated Types

type OrderCompareType MPBall Rational 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasOrderAsymmetric MPBall Integer Source # 
Instance details

Associated Types

type OrderCompareType MPBall Integer 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasOrderAsymmetric MPBall Int Source # 
Instance details

Associated Types

type OrderCompareType MPBall Int 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasOrderAsymmetric Dyadic MPBall Source # 
Instance details

Associated Types

type OrderCompareType Dyadic MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasOrderAsymmetric Rational MPBall Source # 
Instance details

Associated Types

type OrderCompareType Rational MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasOrderAsymmetric Integer MPBall Source # 
Instance details

Associated Types

type OrderCompareType Integer MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

HasOrderAsymmetric Int MPBall Source # 
Instance details

Associated Types

type OrderCompareType Int MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

(CanIntersectAsymmetric MPBall b, CanBeErrors es) => CanIntersectAsymmetric MPBall (CollectErrors es b) Source # 
Instance details

Associated Types

type IntersectionType MPBall (CollectErrors es b) 
Instance details

Defined in AERN2.MP.Ball.Comparisons

(CanUnionAsymmetric MPBall b, CanBeErrors es) => CanUnionAsymmetric MPBall (CollectErrors es b) Source # 
Instance details

Associated Types

type UnionType MPBall (CollectErrors es b) 
Instance details

Defined in AERN2.MP.Ball.Comparisons

(HasEqAsymmetric MPBall b, IsBool (EqCompareType MPBall b), CanTestCertainly (EqCompareType MPBall b), CanBeErrors es) => HasEqAsymmetric MPBall (CollectErrors es b) Source # 
Instance details

Associated Types

type EqCompareType MPBall (CollectErrors es b) 
Instance details

Defined in AERN2.MP.Ball.Comparisons

(CanMinMaxAsymmetric MPBall b, CanBeErrors es) => CanMinMaxAsymmetric MPBall (CollectErrors es b) Source # 
Instance details

Associated Types

type MinMaxType MPBall (CollectErrors es b) 
Instance details

Defined in AERN2.MP.Ball.Comparisons

(HasOrderAsymmetric MPBall b, IsBool (OrderCompareType MPBall b), CanTestCertainly (OrderCompareType MPBall b), CanBeErrors es) => HasOrderAsymmetric MPBall (CollectErrors es b) Source # 
Instance details

Associated Types

type OrderCompareType MPBall (CollectErrors es b) 
Instance details

Defined in AERN2.MP.Ball.Comparisons

(CanIntersectAsymmetric a MPBall, CanBeErrors es) => CanIntersectAsymmetric (CollectErrors es a) MPBall Source # 
Instance details

Associated Types

type IntersectionType (CollectErrors es a) MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

(CanUnionAsymmetric a MPBall, CanBeErrors es) => CanUnionAsymmetric (CollectErrors es a) MPBall Source # 
Instance details

Associated Types

type UnionType (CollectErrors es a) MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

(HasEqAsymmetric a MPBall, IsBool (EqCompareType a MPBall), CanTestCertainly (EqCompareType a MPBall), CanBeErrors es) => HasEqAsymmetric (CollectErrors es a) MPBall Source # 
Instance details

Associated Types

type EqCompareType (CollectErrors es a) MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

(CanMinMaxAsymmetric a MPBall, CanBeErrors es) => CanMinMaxAsymmetric (CollectErrors es a) MPBall Source # 
Instance details

Associated Types

type MinMaxType (CollectErrors es a) MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons

(HasOrderAsymmetric a MPBall, IsBool (OrderCompareType a MPBall), CanTestCertainly (OrderCompareType a MPBall), CanBeErrors es) => HasOrderAsymmetric (CollectErrors es a) MPBall Source # 
Instance details

Associated Types

type OrderCompareType (CollectErrors es a) MPBall 
Instance details

Defined in AERN2.MP.Ball.Comparisons