Safe Haskell | None |
---|---|
Language | Haskell2010 |
- common :: Eq a => String -> a -> a -> a
- fwrap :: C a => (a, a) -> a -> a
- fmod :: C a => a -> a -> a
- fmodAlt :: C a => a -> a -> a
- propFMod :: C a => a -> a -> Bool
- affineComb :: C t y => t -> (y, y) -> y
- affineCombAlt :: C t y => t -> (y, y) -> y
- balanceLevel :: C y => y -> [y] -> [y]
- randomRsBalanced :: (RandomGen g, Random y, C y) => g -> Int -> y -> y -> [y]
Documentation
common :: Eq a => String -> a -> a -> a Source #
If two values are equal, then return one of them, otherwise raise an error.
arithmetic
affineComb :: C t y => t -> (y, y) -> y Source #
This one should be more precise than affineCombAlt
in floating computations
whenever x1
is small and x0
is big.
affineCombAlt :: C t y => t -> (y, y) -> y Source #
balanceLevel :: C y => y -> [y] -> [y] Source #