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 # 
Instance details

Floating CauchyReal # 
Instance details

CanSqrt Int # 
Instance details

Associated Types

type SqrtType Int :: * #

Methods

sqrt :: Int -> SqrtType Int #

CanSqrt Integer # 
Instance details

Associated Types

type SqrtType Integer :: * #

CanSqrt Rational # 
Instance details

Associated Types

type SqrtType Rational :: * #

CanSqrt Dyadic # 
Instance details

Associated Types

type SqrtType Dyadic :: * #

Methods

sqrt :: Dyadic -> SqrtType Dyadic #

CanExp Int # 
Instance details

Associated Types

type ExpType Int :: * #

Methods

exp :: Int -> ExpType Int #

CanExp Integer # 
Instance details

Associated Types

type ExpType Integer :: * #

Methods

exp :: Integer -> ExpType Integer #

CanExp Rational # 
Instance details

Associated Types

type ExpType Rational :: * #

CanExp Dyadic # 
Instance details

Associated Types

type ExpType Dyadic :: * #

Methods

exp :: Dyadic -> ExpType Dyadic #

CanLog Int # 
Instance details

Associated Types

type LogType Int :: * #

Methods

log :: Int -> LogType Int #

CanLog Integer # 
Instance details

Associated Types

type LogType Integer :: * #

Methods

log :: Integer -> LogType Integer #

CanLog Rational # 
Instance details

Associated Types

type LogType Rational :: * #

CanLog Dyadic # 
Instance details

Associated Types

type LogType Dyadic :: * #

Methods

log :: Dyadic -> LogType Dyadic #

CanSinCos Int # 
Instance details

Associated Types

type SinCosType Int :: * #

Methods

cos :: Int -> SinCosType Int #

sin :: Int -> SinCosType Int #

CanSinCos Integer # 
Instance details

Associated Types

type SinCosType Integer :: * #

CanSinCos Rational # 
Instance details

Associated Types

type SinCosType Rational :: * #

CanSinCos Dyadic # 
Instance details

Associated Types

type SinCosType Dyadic :: * #

Convertible CauchyReal Double # 
Instance details

CanDiv Double CauchyReal # 
Instance details

Associated Types

type DivTypeNoCN Double CauchyReal :: * #

type DivType Double CauchyReal :: * #

CanDiv CauchyReal Double # 
Instance details

Associated Types

type DivTypeNoCN CauchyReal Double :: * #

type DivType CauchyReal Double :: * #

CanMulAsymmetric Double CauchyReal # 
Instance details

Associated Types

type MulType Double CauchyReal :: * #

CanMulAsymmetric CauchyReal Double # 
Instance details

Associated Types

type MulType CauchyReal Double :: * #

CanPow Double CauchyReal # 
Instance details

Associated Types

type PowTypeNoCN Double CauchyReal :: * #

type PowType Double CauchyReal :: * #

CanPow Int Rational # 
Instance details

Associated Types

type PowTypeNoCN Int Rational :: * #

type PowType Int Rational :: * #

CanPow Int Dyadic # 
Instance details

Associated Types

type PowTypeNoCN Int Dyadic :: * #

type PowType Int Dyadic :: * #

CanPow Integer Rational # 
Instance details

Associated Types

type PowTypeNoCN Integer Rational :: * #

type PowType Integer Rational :: * #

CanPow Integer Dyadic # 
Instance details

Associated Types

type PowTypeNoCN Integer Dyadic :: * #

type PowType Integer Dyadic :: * #

CanPow Rational Rational # 
Instance details

Associated Types

type PowTypeNoCN Rational Rational :: * #

type PowType Rational Rational :: * #

CanPow Rational Dyadic # 
Instance details

Associated Types

type PowTypeNoCN Rational Dyadic :: * #

type PowType Rational Dyadic :: * #

CanPow Dyadic Rational # 
Instance details

Associated Types

type PowTypeNoCN Dyadic Rational :: * #

type PowType Dyadic Rational :: * #

CanPow Dyadic Dyadic # 
Instance details

Associated Types

type PowTypeNoCN Dyadic Dyadic :: * #

type PowType Dyadic Dyadic :: * #

CanPow CauchyReal Double # 
Instance details

Associated Types

type PowTypeNoCN CauchyReal Double :: * #

type PowType CauchyReal Double :: * #

CanAddAsymmetric Double CauchyReal # 
Instance details

Associated Types

type AddType Double CauchyReal :: * #

CanAddAsymmetric CauchyReal Double # 
Instance details

Associated Types

type AddType CauchyReal Double :: * #

CanSub Double CauchyReal # 
Instance details

Associated Types

type SubType Double CauchyReal :: * #

CanSub CauchyReal Double # 
Instance details

Associated Types

type SubType CauchyReal Double :: * #

QAArrow to => Field (CauchyRealA to) # 
Instance details

QAArrow to => OrderedField (CauchyRealA to) # 
Instance details

QAArrow to => Ring (CauchyRealA to) # 
Instance details

QAArrow to => OrderedRing (CauchyRealA to) # 
Instance details

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

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) # 
Instance details

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) # 
Instance details

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) # 
Instance details

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) # 
Instance details

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) # 
Instance details

Associated Types

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

Methods

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