aern2-mp-0.1.3.1: Multi-precision ball (interval) arithmetic

Copyright(c) Michal Konecny
LicenseBSD3
Maintainermikkonecny@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

AERN2.MP.Ball.Comparisons

Contents

Description

Comparisons of arbitrary precision dyadic balls

Synopsis

Auxiliary types

module AERN2.Norm

Ball operations (see also instances)

reducePrecionIfInaccurate :: MPBall -> MPBall #

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 #

Computes an *increasing* ball fucntion f from *exact* MPFR operations.

Orphan instances

CanTestInteger MPBall # 
Instance details

CanTestZero MPBall # 
Instance details

CanTestPosNeg MPBall # 
Instance details

CanMinMaxAsymmetric Int MPBall # 
Instance details

Associated Types

type MinMaxType Int MPBall :: Type #

CanMinMaxAsymmetric Integer MPBall # 
Instance details

Associated Types

type MinMaxType Integer MPBall :: Type #

CanMinMaxAsymmetric Rational MPBall # 
Instance details

Associated Types

type MinMaxType Rational MPBall :: Type #

CanMinMaxAsymmetric Dyadic MPBall # 
Instance details

Associated Types

type MinMaxType Dyadic MPBall :: Type #

CanMinMaxAsymmetric MPBall Int # 
Instance details

Associated Types

type MinMaxType MPBall Int :: Type #

CanMinMaxAsymmetric MPBall Integer # 
Instance details

Associated Types

type MinMaxType MPBall Integer :: Type #

CanMinMaxAsymmetric MPBall Rational # 
Instance details

Associated Types

type MinMaxType MPBall Rational :: Type #

CanMinMaxAsymmetric MPBall Dyadic # 
Instance details

Associated Types

type MinMaxType MPBall Dyadic :: Type #

CanMinMaxAsymmetric MPBall MPBall # 
Instance details

Associated Types

type MinMaxType MPBall MPBall :: Type #

HasEqAsymmetric Int MPBall # 
Instance details

Associated Types

type EqCompareType Int MPBall :: Type #

HasEqAsymmetric Integer MPBall # 
Instance details

Associated Types

type EqCompareType Integer MPBall :: Type #

HasEqAsymmetric Rational MPBall # 
Instance details

Associated Types

type EqCompareType Rational MPBall :: Type #

HasEqAsymmetric Dyadic MPBall # 
Instance details

Associated Types

type EqCompareType Dyadic MPBall :: Type #

HasEqAsymmetric MPBall Int # 
Instance details

Associated Types

type EqCompareType MPBall Int :: Type #

HasEqAsymmetric MPBall Integer # 
Instance details

Associated Types

type EqCompareType MPBall Integer :: Type #

HasEqAsymmetric MPBall Rational # 
Instance details

Associated Types

type EqCompareType MPBall Rational :: Type #

HasEqAsymmetric MPBall Dyadic # 
Instance details

Associated Types

type EqCompareType MPBall Dyadic :: Type #

HasEqAsymmetric MPBall MPBall # 
Instance details

Associated Types

type EqCompareType MPBall MPBall :: Type #

HasOrderAsymmetric Int MPBall # 
Instance details

Associated Types

type OrderCompareType Int MPBall :: Type #

HasOrderAsymmetric Integer MPBall # 
Instance details

Associated Types

type OrderCompareType Integer MPBall :: Type #

HasOrderAsymmetric Rational MPBall # 
Instance details

Associated Types

type OrderCompareType Rational MPBall :: Type #

HasOrderAsymmetric Dyadic MPBall # 
Instance details

Associated Types

type OrderCompareType Dyadic MPBall :: Type #

HasOrderAsymmetric MPBall Int # 
Instance details

Associated Types

type OrderCompareType MPBall Int :: Type #

HasOrderAsymmetric MPBall Integer # 
Instance details

Associated Types

type OrderCompareType MPBall Integer :: Type #

HasOrderAsymmetric MPBall Rational # 
Instance details

Associated Types

type OrderCompareType MPBall Rational :: Type #

HasOrderAsymmetric MPBall Dyadic # 
Instance details

Associated Types

type OrderCompareType MPBall Dyadic :: Type #

HasOrderAsymmetric MPBall MPBall # 
Instance details

Associated Types

type OrderCompareType MPBall MPBall :: Type #

CanUnionAsymmetric MPBall MPBall # 
Instance details

Associated Types

type UnionType MPBall MPBall :: Type #

CanIntersectAsymmetric MPBall MPBall # 
Instance details

Associated Types

type IntersectionType MPBall MPBall :: Type #

(CanMinMaxAsymmetric MPBall b, CanEnsureCE es b, CanEnsureCE es (MinMaxType MPBall b), SuitableForCE es) => CanMinMaxAsymmetric MPBall (CollectErrors es b) # 
Instance details

Associated Types

type MinMaxType MPBall (CollectErrors es b) :: Type #

(HasEqAsymmetric MPBall b, CanEnsureCE es b, CanEnsureCE es (EqCompareType MPBall b), IsBool (EnsureCE es (EqCompareType MPBall b)), SuitableForCE es) => HasEqAsymmetric MPBall (CollectErrors es b) # 
Instance details

Associated Types

type EqCompareType MPBall (CollectErrors es b) :: Type #

(HasOrderAsymmetric MPBall b, CanEnsureCE es b, CanEnsureCE es (OrderCompareType MPBall b), IsBool (EnsureCE es (OrderCompareType MPBall b)), SuitableForCE es) => HasOrderAsymmetric MPBall (CollectErrors es b) # 
Instance details

Associated Types

type OrderCompareType MPBall (CollectErrors es b) :: Type #

(CanUnionAsymmetric MPBall b, CanEnsureCE es b, CanEnsureCE es (UnionType MPBall b), SuitableForCE es) => CanUnionAsymmetric MPBall (CollectErrors es b) # 
Instance details

Associated Types

type UnionType MPBall (CollectErrors es b) :: Type #

(CanIntersectAsymmetric MPBall b, CanEnsureCE es b, CanEnsureCE es (IntersectionType MPBall b), SuitableForCE es) => CanIntersectAsymmetric MPBall (CollectErrors es b) # 
Instance details

Associated Types

type IntersectionType MPBall (CollectErrors es b) :: Type #

(CanMinMaxAsymmetric a MPBall, CanEnsureCE es a, CanEnsureCE es (MinMaxType a MPBall), SuitableForCE es) => CanMinMaxAsymmetric (CollectErrors es a) MPBall # 
Instance details

Associated Types

type MinMaxType (CollectErrors es a) MPBall :: Type #

(HasEqAsymmetric a MPBall, CanEnsureCE es a, CanEnsureCE es (EqCompareType a MPBall), IsBool (EnsureCE es (EqCompareType a MPBall)), SuitableForCE es) => HasEqAsymmetric (CollectErrors es a) MPBall # 
Instance details

Associated Types

type EqCompareType (CollectErrors es a) MPBall :: Type #

(HasOrderAsymmetric a MPBall, CanEnsureCE es a, CanEnsureCE es (OrderCompareType a MPBall), IsBool (EnsureCE es (OrderCompareType a MPBall)), SuitableForCE es) => HasOrderAsymmetric (CollectErrors es a) MPBall # 
Instance details

Associated Types

type OrderCompareType (CollectErrors es a) MPBall :: Type #

(CanUnionAsymmetric a MPBall, CanEnsureCE es a, CanEnsureCE es (UnionType a MPBall), SuitableForCE es) => CanUnionAsymmetric (CollectErrors es a) MPBall # 
Instance details

Associated Types

type UnionType (CollectErrors es a) MPBall :: Type #

(CanIntersectAsymmetric a MPBall, CanEnsureCE es a, CanEnsureCE es (IntersectionType a MPBall), SuitableForCE es) => CanIntersectAsymmetric (CollectErrors es a) MPBall # 
Instance details

Associated Types

type IntersectionType (CollectErrors es a) MPBall :: Type #