|
Org.Org.Semantic.HBase.Mathematics.Real |
|
|
|
|
|
Synopsis |
|
class HasZero a => HasPosNegZeros a where | | | isPositive :: (HasPosNegZeros a, MaybeOrdered a) => a -> Bool | | isNegative :: (HasPosNegZeros a, MaybeOrdered a) => a -> Bool | | class HasInfinity a => HasPosNegInfinities a where | | | class (Negatable a, InterpretRationalLiteral a, Additive a a a, Subtractive a a a, Multiplicative a a a, Divisible a a a, Power a a) => ApproxMath a where | | | class (ApproxMath a, HasAbsolute a a, Approximate a NaNInfRational, MaybeOrdered a) => RealApproxMath a | | arctangent2 :: (RealApproxMath a, HasPosNegZeros a) => a -> a -> a |
|
|
Documentation |
|
class HasZero a => HasPosNegZeros a where |
has both positive and negative zero | | Methods | positiveZero :: a | | negativeZero :: a | | isPositiveZero :: a -> Bool | | isNegativeZero :: a -> Bool |
| | Instances | |
|
|
isPositive :: (HasPosNegZeros a, MaybeOrdered a) => a -> Bool |
|
isNegative :: (HasPosNegZeros a, MaybeOrdered a) => a -> Bool |
|
class HasInfinity a => HasPosNegInfinities a where |
has both positive and negative infinity | | Methods | positiveInfinity :: a | | negativeInfinity :: a | | isPositiveInfinity :: a -> Bool | | isNegativeInfinity :: a -> Bool |
| | Instances | |
|
|
class (Negatable a, InterpretRationalLiteral a, Additive a a a, Subtractive a a a, Multiplicative a a a, Divisible a a a, Power a a) => ApproxMath a where |
| Methods | pi :: a | | exponent :: a -> a | | logarithm :: a -> a | | squareroot :: a -> a | | logarithmBase :: a -> a -> a | | sine :: a -> a | | cosine :: a -> a | | tangent :: a -> a | | arcsine :: a -> a | | arccosine :: a -> a | | arctangent :: a -> a | | hypsine :: a -> a | | hypcosine :: a -> a | | hyptangent :: a -> a | | archypsine :: a -> a | | archypcosine :: a -> a | | archyptangent :: a -> a |
| | Instances | |
|
|
class (ApproxMath a, HasAbsolute a a, Approximate a NaNInfRational, MaybeOrdered a) => RealApproxMath a |
|
|
arctangent2 :: (RealApproxMath a, HasPosNegZeros a) => a -> a -> a |
|
Produced by Haddock version 0.6 |