numeric-prelude-0.4.1: An experimental alternative hierarchy of numeric type classes

Safe HaskellNone



Define Transcendental functions on arbitrary fields. These functions are defined for only a few (in most cases only one) arguments, that's why we discourage making these types instances of C. But instances of C can be useful when working with power series. If you intend to work with power series with Rational coefficients, you might consider using MathObj.PowerSeries.T (Number.PartiallyTranscendental.T Rational) instead of MathObj.PowerSeries.T Rational.


data T a Source


Eq a => Eq (T a) 
Fractional a => Fractional (T a) 
Num a => Num (T a) 
Ord a => Ord (T a) 
Show a => Show (T a) 
C a => C (T a) 
C a => C (T a) 
C a => C (T a) 
C a => C (T a) 
(C a, Eq a) => C (T a) 

fromValue :: a -> T aSource

toValue :: T a -> aSource