NumInstances-1.4: Instances of numeric classes for functions and tuples

Copyright | (c) Conal Elliott 2008-2013
License | BSD3
Maintainer | conal@conal.net
Stability | experimental
Safe Haskell | Safe
Language | Haskell98

Data.NumInstances.Tuple

Contents

- Orphan instances

Description

Number class instances for tuples

# Orphan instances

(Floating a, Floating b) => Floating (a, b) Source # |

Instance details

Methods

pi :: (a, b) Source #

exp :: (a, b) -> (a, b) Source #

log :: (a, b) -> (a, b) Source #

sqrt :: (a, b) -> (a, b) Source #

(**) :: (a, b) -> (a, b) -> (a, b) Source #

logBase :: (a, b) -> (a, b) -> (a, b) Source #

sin :: (a, b) -> (a, b) Source #

cos :: (a, b) -> (a, b) Source #

tan :: (a, b) -> (a, b) Source #

asin :: (a, b) -> (a, b) Source #

acos :: (a, b) -> (a, b) Source #

atan :: (a, b) -> (a, b) Source #

sinh :: (a, b) -> (a, b) Source #

cosh :: (a, b) -> (a, b) Source #

tanh :: (a, b) -> (a, b) Source #

asinh :: (a, b) -> (a, b) Source #

acosh :: (a, b) -> (a, b) Source #

atanh :: (a, b) -> (a, b) Source #

log1p :: (a, b) -> (a, b) Source #

expm1 :: (a, b) -> (a, b) Source #

log1pexp :: (a, b) -> (a, b) Source #

log1mexp :: (a, b) -> (a, b) Source #

(Fractional a, Fractional b) => Fractional (a, b) Source # |
Instance details Methods (/) :: (a, b) -> (a, b) -> (a, b) Source # recip :: (a, b) -> (a, b) Source # fromRational :: Rational -> (a, b) Source #
(Num a, Num b) => Num (a, b) Source # |
Instance details Methods (+) :: (a, b) -> (a, b) -> (a, b) Source # (-) :: (a, b) -> (a, b) -> (a, b) Source # (*) :: (a, b) -> (a, b) -> (a, b) Source # negate :: (a, b) -> (a, b) Source # abs :: (a, b) -> (a, b) Source # signum :: (a, b) -> (a, b) Source # fromInteger :: Integer -> (a, b) Source #
(Floating a, Floating b, Floating c) => Floating (a, b, c) Source # |

Instance details

Methods

pi :: (a, b, c) Source #

exp :: (a, b, c) -> (a, b, c) Source #

log :: (a, b, c) -> (a, b, c) Source #

sqrt :: (a, b, c) -> (a, b, c) Source #

(**) :: (a, b, c) -> (a, b, c) -> (a, b, c) Source #

logBase :: (a, b, c) -> (a, b, c) -> (a, b, c) Source #

sin :: (a, b, c) -> (a, b, c) Source #

cos :: (a, b, c) -> (a, b, c) Source #

tan :: (a, b, c) -> (a, b, c) Source #

asin :: (a, b, c) -> (a, b, c) Source #

acos :: (a, b, c) -> (a, b, c) Source #

atan :: (a, b, c) -> (a, b, c) Source #

sinh :: (a, b, c) -> (a, b, c) Source #

cosh :: (a, b, c) -> (a, b, c) Source #

tanh :: (a, b, c) -> (a, b, c) Source #

asinh :: (a, b, c) -> (a, b, c) Source #

acosh :: (a, b, c) -> (a, b, c) Source #

atanh :: (a, b, c) -> (a, b, c) Source #

log1p :: (a, b, c) -> (a, b, c) Source #

expm1 :: (a, b, c) -> (a, b, c) Source #

log1pexp :: (a, b, c) -> (a, b, c) Source #

log1mexp :: (a, b, c) -> (a, b, c) Source #

(Fractional a, Fractional b, Fractional c) => Fractional (a, b, c) Source # |
Instance details Methods (/) :: (a, b, c) -> (a, b, c) -> (a, b, c) Source # recip :: (a, b, c) -> (a, b, c) Source # fromRational :: Rational -> (a, b, c) Source #
(Num a, Num b, Num c) => Num (a, b, c) Source # |
Instance details Methods (+) :: (a, b, c) -> (a, b, c) -> (a, b, c) Source # (-) :: (a, b, c) -> (a, b, c) -> (a, b, c) Source # (*) :: (a, b, c) -> (a, b, c) -> (a, b, c) Source # negate :: (a, b, c) -> (a, b, c) Source # abs :: (a, b, c) -> (a, b, c) Source # signum :: (a, b, c) -> (a, b, c) Source # fromInteger :: Integer -> (a, b, c) Source #
(Floating a, Floating b, Floating c, Floating d) => Floating (a, b, c, d) Source # |

Instance details

Methods

pi :: (a, b, c, d) Source #

exp :: (a, b, c, d) -> (a, b, c, d) Source #

log :: (a, b, c, d) -> (a, b, c, d) Source #

sqrt :: (a, b, c, d) -> (a, b, c, d) Source #

(**) :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source #

logBase :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source #

sin :: (a, b, c, d) -> (a, b, c, d) Source #

cos :: (a, b, c, d) -> (a, b, c, d) Source #

tan :: (a, b, c, d) -> (a, b, c, d) Source #

asin :: (a, b, c, d) -> (a, b, c, d) Source #

acos :: (a, b, c, d) -> (a, b, c, d) Source #

atan :: (a, b, c, d) -> (a, b, c, d) Source #

sinh :: (a, b, c, d) -> (a, b, c, d) Source #

cosh :: (a, b, c, d) -> (a, b, c, d) Source #

tanh :: (a, b, c, d) -> (a, b, c, d) Source #

asinh :: (a, b, c, d) -> (a, b, c, d) Source #

acosh :: (a, b, c, d) -> (a, b, c, d) Source #

atanh :: (a, b, c, d) -> (a, b, c, d) Source #

log1p :: (a, b, c, d) -> (a, b, c, d) Source #

expm1 :: (a, b, c, d) -> (a, b, c, d) Source #

log1pexp :: (a, b, c, d) -> (a, b, c, d) Source #

log1mexp :: (a, b, c, d) -> (a, b, c, d) Source #

(Fractional a, Fractional b, Fractional c, Fractional d) => Fractional (a, b, c, d) Source # |
Instance details Methods (/) :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source # recip :: (a, b, c, d) -> (a, b, c, d) Source # fromRational :: Rational -> (a, b, c, d) Source #
(Num a, Num b, Num c, Num d) => Num (a, b, c, d) Source # |
Instance details Methods (+) :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source # (-) :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source # (*) :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source # negate :: (a, b, c, d) -> (a, b, c, d) Source # abs :: (a, b, c, d) -> (a, b, c, d) Source # signum :: (a, b, c, d) -> (a, b, c, d) Source # fromInteger :: Integer -> (a, b, c, d) Source #
(Floating a, Floating b, Floating c, Floating d, Floating e) => Floating (a, b, c, d, e) Source # |

Instance details

Methods

pi :: (a, b, c, d, e) Source #

exp :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

log :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

sqrt :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

(**) :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

logBase :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

sin :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

cos :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

tan :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

asin :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

acos :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

atan :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

sinh :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

cosh :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

tanh :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

asinh :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

acosh :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

atanh :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

log1p :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

expm1 :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

log1pexp :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

log1mexp :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

(Fractional a, Fractional b, Fractional c, Fractional d, Fractional e) => Fractional (a, b, c, d, e) Source # |
Instance details Methods (/) :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source # recip :: (a, b, c, d, e) -> (a, b, c, d, e) Source # fromRational :: Rational -> (a, b, c, d, e) Source #
(Num a, Num b, Num c, Num d, Num e) => Num (a, b, c, d, e) Source # |

Instance details

Methods

(+) :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

(-) :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

(*) :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

negate :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

abs :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

signum :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

fromInteger :: Integer -> (a, b, c, d, e) Source #

(Floating a, Floating b, Floating c, Floating d, Floating e, Floating f) => Floating (a, b, c, d, e, f) Source # |

Instance details

Methods

pi :: (a, b, c, d, e, f) Source #

exp :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

log :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

sqrt :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

(**) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

logBase :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

sin :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

cos :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

tan :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

asin :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

acos :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

atan :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

sinh :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

cosh :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

tanh :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

asinh :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

acosh :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

atanh :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

log1p :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

expm1 :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

log1pexp :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

log1mexp :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

(Fractional a, Fractional b, Fractional c, Fractional d, Fractional e, Fractional f) => Fractional (a, b, c, d, e, f) Source # |
Instance details Methods (/) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source # recip :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source # fromRational :: Rational -> (a, b, c, d, e, f) Source #
(Num a, Num b, Num c, Num d, Num e, Num f) => Num (a, b, c, d, e, f) Source # |

Instance details

Methods

(+) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

(-) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

(*) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

negate :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

abs :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

signum :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

fromInteger :: Integer -> (a, b, c, d, e, f) Source #

(Floating a, Floating b, Floating c, Floating d, Floating e, Floating f, Floating g) => Floating (a, b, c, d, e, f, g) Source # |

Instance details

Methods

pi :: (a, b, c, d, e, f, g) Source #

exp :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

log :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

sqrt :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

(**) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

logBase :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

sin :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

cos :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

tan :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

asin :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

acos :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

atan :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

sinh :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

cosh :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

tanh :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

asinh :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

acosh :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

atanh :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

log1p :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

expm1 :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

log1pexp :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

log1mexp :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

(Fractional a, Fractional b, Fractional c, Fractional d, Fractional e, Fractional f, Fractional g) => Fractional (a, b, c, d, e, f, g) Source # |
Instance details Methods (/) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source # recip :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source # fromRational :: Rational -> (a, b, c, d, e, f, g) Source #
(Num a, Num b, Num c, Num d, Num e, Num f, Num g) => Num (a, b, c, d, e, f, g) Source # |

Instance details

Methods

(+) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

(-) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

(*) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

negate :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

abs :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

signum :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

fromInteger :: Integer -> (a, b, c, d, e, f, g) Source #