numeric-quest-0.2.0.2: Math and quantum mechanics

Fraction

# Documentation

data Fraction Source #

Constructors

 Integer :-: Integer infix 7

Instances

 Source # MethodsenumFrom :: Fraction -> [Fraction] #enumFromTo :: Fraction -> Fraction -> [Fraction] # Source # Methods Source # Methods Source # Methods Source # Methods(<) :: Fraction -> Fraction -> Bool #(>) :: Fraction -> Fraction -> Bool # Source # Methods Source # Methods Source # MethodsproperFraction :: 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 # Source # MethodsshowList :: [Fraction] -> ShowS # Source # Methodsdecimal :: Integer -> Fraction -> IO () 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

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 #

Instances

 Source # Methodsdecimal :: Integer -> Fraction -> IO () Source #