Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- diameterNaive :: (Ord r, Floating r, Arity d) => [Point d r :+ p] -> r
- diametralPairNaive :: (Ord r, Num r, Arity d) => [Point d r :+ p] -> Maybe (Point d r :+ p, Point d r :+ p)
- diametralPairWithNaive :: Ord r => (Point d r -> Point d r -> r) -> [Point d r :+ p] -> Maybe (Point d r :+ p, Point d r :+ p)