numeric-quest-0.2.0.2: Math and quantum mechanics

Safe HaskellSafe
LanguageHaskell98

Fraction

Documentation

data Fraction Source #

Constructors

Integer :-: Integer infix 7 

Instances

Enum Fraction Source # 
Eq Fraction Source # 
Fractional Fraction Source # 
Num Fraction Source # 
Ord Fraction Source # 
Read Fraction Source # 
Real Fraction Source # 
RealFrac Fraction Source # 

Methods

properFraction :: Integral b => Fraction -> (b, Fraction) #

truncate :: Integral b => Fraction -> b #

round :: Integral b => Fraction -> b #

ceiling :: Integral b => Fraction -> b #

floor :: Integral b => Fraction -> b #

Show Fraction Source # 
Transcendental Fraction Source # 

numericEnumFrom :: Real a => a -> [a] Source #

numericEnumFromThen :: Real a => a -> a -> [a] Source #

numericEnumFromTo :: Real a => a -> a -> [a] Source #

numericEnumFromThenTo :: Real a => a -> a -> a -> [a] Source #

fromTaylorToCF :: Fractional a => [a] -> a -> [(a, a)] Source #

class Transcendental a where Source #

Minimal complete definition

pi', tan', sin', cos', atan', asin', acos', sqrt', root', power', exp', tanh', sinh', cosh', atanh', asinh', acosh', log', decimal

Methods

pi' :: Fraction -> a Source #

tan' :: Fraction -> a -> a Source #

sin' :: Fraction -> a -> a Source #

cos' :: Fraction -> a -> a Source #

atan' :: Fraction -> a -> a Source #

asin' :: Fraction -> a -> a Source #

acos' :: Fraction -> a -> a Source #

sqrt' :: Fraction -> a -> a Source #

root' :: Fraction -> a -> Integer -> a Source #

power' :: Fraction -> a -> a -> a Source #

exp' :: Fraction -> a -> a Source #

tanh' :: Fraction -> a -> a Source #

sinh' :: Fraction -> a -> a Source #

cosh' :: Fraction -> a -> a Source #

atanh' :: Fraction -> a -> a Source #

asinh' :: Fraction -> a -> a Source #

acosh' :: Fraction -> a -> a Source #

log' :: Fraction -> a -> a Source #

decimal :: Integer -> a -> IO () Source #