aern2-real-0.1.1.0: Exact real numbers via Cauchy sequences and MPFR

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

AERN2.Real.Type

Contents

Description

The type of Cauchy real numbers

Synopsis

Documentation

newCR :: QAArrow to => String -> [AnyProtocolQA to] -> ((Maybe (QAId to), Maybe (QAId to)) -> AccuracySG `to` MPBall) -> CauchyRealA to #

newCRCN :: QAArrow to => String -> [AnyProtocolQA to] -> ((Maybe (QAId to), Maybe (QAId to)) -> AccuracySG `to` CN MPBall) -> CauchyRealCNA to #

realId :: QA to p -> Maybe (QAId to) #

realSources :: QA to p -> [QAId to] #

realRename :: (String -> String) -> SequenceA to a -> SequenceA to a #

realWithAccuracy :: QAArrow to => CauchyRealA to -> AccuracySG `to` MPBall #

Get a ball approximation of the real number with at least the specified accuracy. (A specialisation of qaMakeQuery for Cauchy reals.)

type CanBeReal t = CanBeRealA (->) t #

real :: CanBeRealA (->) t => t -> CauchyReal #

realA :: CanBeRealA to t => t -> CauchyRealA to #

type CanBeComplex t = CanBeComplexA (->) t #

Orphan instances