aern2-mp-0.2.8.0: Multi-precision ball (interval) arithmetic
Copyright(c) Michal Konecny
LicenseBSD3
Maintainermikkonecny@gmail.com
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

CanMinMaxAsymmetric Int MPBall Source # 
Instance details

Associated Types

type MinMaxType Int MPBall #

CanMinMaxAsymmetric Integer MPBall Source # 
Instance details

Associated Types

type MinMaxType Integer MPBall #

CanMinMaxAsymmetric Rational MPBall Source # 
Instance details

Associated Types

type MinMaxType Rational MPBall #

CanMinMaxAsymmetric Dyadic MPBall Source # 
Instance details

Associated Types

type MinMaxType Dyadic MPBall #

CanMinMaxAsymmetric MPBall Int Source # 
Instance details

Associated Types

type MinMaxType MPBall Int #

CanMinMaxAsymmetric MPBall Integer Source # 
Instance details

Associated Types

type MinMaxType MPBall Integer #

CanMinMaxAsymmetric MPBall Rational Source # 
Instance details

Associated Types

type MinMaxType MPBall Rational #

CanMinMaxAsymmetric MPBall Dyadic Source # 
Instance details

Associated Types

type MinMaxType MPBall Dyadic #

CanMinMaxAsymmetric MPBall MPBall Source # 
Instance details

Associated Types

type MinMaxType MPBall MPBall #

HasEqAsymmetric Int MPBall Source # 
Instance details

Associated Types

type EqCompareType Int MPBall #

HasEqAsymmetric Integer MPBall Source # 
Instance details

Associated Types

type EqCompareType Integer MPBall #

HasEqAsymmetric Rational MPBall Source # 
Instance details

Associated Types

type EqCompareType Rational MPBall #

HasEqAsymmetric Dyadic MPBall Source # 
Instance details

Associated Types

type EqCompareType Dyadic MPBall #

HasEqAsymmetric MPBall Int Source # 
Instance details

Associated Types

type EqCompareType MPBall Int #

HasEqAsymmetric MPBall Integer Source # 
Instance details

Associated Types

type EqCompareType MPBall Integer #

HasEqAsymmetric MPBall Rational Source # 
Instance details

Associated Types

type EqCompareType MPBall Rational #

HasEqAsymmetric MPBall Dyadic Source # 
Instance details

Associated Types

type EqCompareType MPBall Dyadic #

HasEqAsymmetric MPBall MPBall Source # 
Instance details

Associated Types

type EqCompareType MPBall MPBall #

HasOrderAsymmetric Int MPBall Source # 
Instance details

Associated Types

type OrderCompareType Int MPBall #

HasOrderAsymmetric Integer MPBall Source # 
Instance details

Associated Types

type OrderCompareType Integer MPBall #

HasOrderAsymmetric Rational MPBall Source # 
Instance details

Associated Types

type OrderCompareType Rational MPBall #

HasOrderAsymmetric Dyadic MPBall Source # 
Instance details

Associated Types

type OrderCompareType Dyadic MPBall #

HasOrderAsymmetric MPBall Int Source # 
Instance details

Associated Types

type OrderCompareType MPBall Int #

HasOrderAsymmetric MPBall Integer Source # 
Instance details

Associated Types

type OrderCompareType MPBall Integer #

HasOrderAsymmetric MPBall Rational Source # 
Instance details

Associated Types

type OrderCompareType MPBall Rational #

HasOrderAsymmetric MPBall Dyadic Source # 
Instance details

Associated Types

type OrderCompareType MPBall Dyadic #

HasOrderAsymmetric MPBall MPBall Source # 
Instance details

Associated Types

type OrderCompareType MPBall MPBall #

CanUnionAsymmetric MPBall MPBall Source # 
Instance details

Associated Types

type UnionType MPBall MPBall Source #

CanIntersectAsymmetric MPBall MPBall Source # 
Instance details

Associated Types

type IntersectionType MPBall MPBall Source #

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

Associated Types

type MinMaxType MPBall (CollectErrors es b) #

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

Associated Types

type EqCompareType MPBall (CollectErrors es b) #

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

Associated Types

type OrderCompareType MPBall (CollectErrors es b) #

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

Associated Types

type UnionType MPBall (CollectErrors es b) Source #

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

Associated Types

type IntersectionType MPBall (CollectErrors es b) Source #

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

Associated Types

type MinMaxType (CollectErrors es a) MPBall #

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

Associated Types

type EqCompareType (CollectErrors es a) MPBall #

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

Associated Types

type OrderCompareType (CollectErrors es a) MPBall #

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

Associated Types

type UnionType (CollectErrors es a) MPBall Source #

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

Associated Types

type IntersectionType (CollectErrors es a) MPBall Source #