Copyright | (c) Michal Konecny |
---|---|
License | BSD3 |
Maintainer | mikkonecny@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
You can run this file in ghci. If you installed AERN2 using the official instructions, you can start ghci using the following command in the base folder:
stack repl aern2-realexamplesAERN2RealExamples/ClosestPairDist.hs
Documentation
distance :: (CanAbsSameType t, CanSubSameType t) => (t, t) -> t Source #
closestPairDist_naive :: (CanMinMaxSameType t, CanAbsSameType t, CanSubSameType t) => [t] -> t Source #
closestPairDist_split :: (RealNumber r, CanMinMaxSameType r, CanAbsSameType r) => [r] -> r Source #
average :: (HasIntegers t, CanAddSameType t, CanDivBy t Integer) => [t] -> t Source #
largest :: CanMinMaxSameType t => [t] -> t Source #
smallest :: CanMinMaxSameType t => [t] -> t Source #
closestPairDist_run :: (RealNumber r, CanSinCosSameType r, CanMinMaxSameType r, CanAbsSameType r) => ([r] -> r) -> Integer -> r Source #
closestPairDist_run_naive :: (RealNumber r, CanSinCosSameType r, CanMinMaxSameType r, CanAbsSameType r) => Integer -> r Source #
closestPairDist_run_split :: (RealNumber r, CanSinCosSameType r, CanMinMaxSameType r, CanAbsSameType r) => Integer -> r Source #
closestPairDist_spec :: _ => ([r] -> r) -> (r -> t) -> [b] -> Property Source #
closestPairDist_runTests1 :: IO () Source #
sample_integers :: IO () Source #
sample_rationals :: IO () Source #