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.Arithmetic

Contents

Description

Arithmetic operations on Cauchy Real numbers, except those that are defined for more general sequences

Synopsis

Documentation

pi :: CauchyReal #

To get pi in an arbitrary arrow, use piA.

piA :: QAArrow to => CauchyRealA to #

Orphan instances

Floating CauchyRealCN # 
Floating CauchyReal # 
CanSqrt Int # 

Associated Types

type SqrtType Int :: * #

Methods

sqrt :: Int -> SqrtType Int #

CanSqrt Integer # 

Associated Types

type SqrtType Integer :: * #

CanSqrt Rational # 

Associated Types

type SqrtType Rational :: * #

CanSqrt Dyadic # 

Associated Types

type SqrtType Dyadic :: * #

Methods

sqrt :: Dyadic -> SqrtType Dyadic #

CanExp Int # 

Associated Types

type ExpType Int :: * #

Methods

exp :: Int -> ExpType Int #

CanExp Integer # 

Associated Types

type ExpType Integer :: * #

Methods

exp :: Integer -> ExpType Integer #

CanExp Rational # 

Associated Types

type ExpType Rational :: * #

CanExp Dyadic # 

Associated Types

type ExpType Dyadic :: * #

Methods

exp :: Dyadic -> ExpType Dyadic #

CanLog Int # 

Associated Types

type LogType Int :: * #

Methods

log :: Int -> LogType Int #

CanLog Integer # 

Associated Types

type LogType Integer :: * #

Methods

log :: Integer -> LogType Integer #

CanLog Rational # 

Associated Types

type LogType Rational :: * #

CanLog Dyadic # 

Associated Types

type LogType Dyadic :: * #

Methods

log :: Dyadic -> LogType Dyadic #

CanSinCos Int # 

Associated Types

type SinCosType Int :: * #

Methods

cos :: Int -> SinCosType Int #

sin :: Int -> SinCosType Int #

CanSinCos Integer # 

Associated Types

type SinCosType Integer :: * #

CanSinCos Rational # 

Associated Types

type SinCosType Rational :: * #

CanSinCos Dyadic # 

Associated Types

type SinCosType Dyadic :: * #

Convertible CauchyReal Double # 
CanDiv Double CauchyReal # 
CanDiv CauchyReal Double # 
CanMulAsymmetric Double CauchyReal # 

Associated Types

type MulType Double CauchyReal :: * #

CanMulAsymmetric CauchyReal Double # 

Associated Types

type MulType CauchyReal Double :: * #

CanPow Double CauchyReal # 
CanPow Int Rational # 
CanPow Int Dyadic # 

Associated Types

type PowTypeNoCN Int Dyadic :: * #

type PowType Int Dyadic :: * #

CanPow Integer Rational # 
CanPow Integer Dyadic # 
CanPow Rational Rational # 
CanPow Rational Dyadic # 
CanPow Dyadic Rational # 
CanPow Dyadic Dyadic # 
CanPow CauchyReal Double # 
CanAddAsymmetric Double CauchyReal # 

Associated Types

type AddType Double CauchyReal :: * #

CanAddAsymmetric CauchyReal Double # 

Associated Types

type AddType CauchyReal Double :: * #

CanSub Double CauchyReal # 

Associated Types

type SubType Double CauchyReal :: * #

CanSub CauchyReal Double # 

Associated Types

type SubType CauchyReal Double :: * #

QAArrow to => Field (CauchyRealA to) # 
QAArrow to => OrderedField (CauchyRealA to) # 
QAArrow to => Ring (CauchyRealA to) # 
QAArrow to => OrderedRing (CauchyRealA to) # 
CanMulAsymmetric t (CauchyRealA to) => CanMulAsymmetric (Complex t) (CauchyRealA to) # 

Associated Types

type MulType (Complex t) (CauchyRealA to) :: * #

Methods

mul :: Complex t -> CauchyRealA to -> MulType (Complex t) (CauchyRealA to) #

CanMulAsymmetric (CauchyRealA to) t => CanMulAsymmetric (CauchyRealA to) (Complex t) # 

Associated Types

type MulType (CauchyRealA to) (Complex t) :: * #

Methods

mul :: CauchyRealA to -> Complex t -> MulType (CauchyRealA to) (Complex t) #

(QAArrow to, CanAddAsymmetric t (CauchyRealA to)) => CanAddAsymmetric (Complex t) (CauchyRealA to) # 

Associated Types

type AddType (Complex t) (CauchyRealA to) :: * #

Methods

add :: Complex t -> CauchyRealA to -> AddType (Complex t) (CauchyRealA to) #

(QAArrow to, CanAddAsymmetric (CauchyRealA to) t) => CanAddAsymmetric (CauchyRealA to) (Complex t) # 

Associated Types

type AddType (CauchyRealA to) (Complex t) :: * #

Methods

add :: CauchyRealA to -> Complex t -> AddType (CauchyRealA to) (Complex t) #

(QAArrow to, CanAdd t (CauchyRealA to)) => CanSub (Complex t) (CauchyRealA to) # 

Associated Types

type SubType (Complex t) (CauchyRealA to) :: * #

Methods

sub :: Complex t -> CauchyRealA to -> SubType (Complex t) (CauchyRealA to) #

(QAArrow to, CanAdd (CauchyRealA to) t, CanNegSameType t) => CanSub (CauchyRealA to) (Complex t) # 

Associated Types

type SubType (CauchyRealA to) (Complex t) :: * #

Methods

sub :: CauchyRealA to -> Complex t -> SubType (CauchyRealA to) (Complex t) #