aern2-real-0.1.0.2: 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 Source #

To get pi in an arbitrary arrow, use piA.

Orphan instances

Floating CauchyRealCN Source # 
Floating CauchyReal Source # 
CanSqrt Int Source # 

Associated Types

type SqrtType Int :: * #

Methods

sqrt :: Int -> SqrtType Int #

CanSqrt Integer Source # 

Associated Types

type SqrtType Integer :: * #

CanSqrt Rational Source # 

Associated Types

type SqrtType Rational :: * #

CanSqrt Dyadic Source # 

Associated Types

type SqrtType Dyadic :: * #

Methods

sqrt :: Dyadic -> SqrtType Dyadic #

CanExp Int Source # 

Associated Types

type ExpType Int :: * #

Methods

exp :: Int -> ExpType Int #

CanExp Integer Source # 

Associated Types

type ExpType Integer :: * #

Methods

exp :: Integer -> ExpType Integer #

CanExp Rational Source # 

Associated Types

type ExpType Rational :: * #

CanExp Dyadic Source # 

Associated Types

type ExpType Dyadic :: * #

Methods

exp :: Dyadic -> ExpType Dyadic #

CanLog Int Source # 

Associated Types

type LogType Int :: * #

Methods

log :: Int -> LogType Int #

CanLog Integer Source # 

Associated Types

type LogType Integer :: * #

Methods

log :: Integer -> LogType Integer #

CanLog Rational Source # 

Associated Types

type LogType Rational :: * #

CanLog Dyadic Source # 

Associated Types

type LogType Dyadic :: * #

Methods

log :: Dyadic -> LogType Dyadic #

CanSinCos Int Source # 

Associated Types

type SinCosType Int :: * #

Methods

cos :: Int -> SinCosType Int #

sin :: Int -> SinCosType Int #

CanSinCos Integer Source # 

Associated Types

type SinCosType Integer :: * #

CanSinCos Rational Source # 

Associated Types

type SinCosType Rational :: * #

CanSinCos Dyadic Source # 

Associated Types

type SinCosType Dyadic :: * #

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

Associated Types

type MulType Double CauchyReal :: * #

CanMulAsymmetric CauchyReal Double Source # 

Associated Types

type MulType CauchyReal Double :: * #

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

Associated Types

type PowTypeNoCN Int Dyadic :: * #

type PowType Int Dyadic :: * #

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

Associated Types

type AddType Double CauchyReal :: * #

CanAddAsymmetric CauchyReal Double Source # 

Associated Types

type AddType CauchyReal Double :: * #

CanSub Double CauchyReal Source # 

Associated Types

type SubType Double CauchyReal :: * #

CanSub CauchyReal Double Source # 

Associated Types

type SubType CauchyReal Double :: * #

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

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) Source # 

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) Source # 

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) Source # 

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) Source # 

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) Source # 

Associated Types

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

Methods

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