tropical-geometry-0.0.0.1: A Tropical Geometry package for Haskell

Safe HaskellNone
LanguageHaskell2010

Geometry.ConvexHull2

Contents

Synopsis

Documentation

type Point2D = (Int, Int) Source #

The algorithm performed in this module is Graham Scan

(>*<) :: Int -> (Int, Int) -> (Int, Int) Source #

determinant :: (Int, Int, Int) -> (Int, Int, Int) -> (Int, Int, Int) -> Rational Source #

Orphan instances

Num (Int, Int) Source # 
Instance details

Methods

(+) :: (Int, Int) -> (Int, Int) -> (Int, Int) #

(-) :: (Int, Int) -> (Int, Int) -> (Int, Int) #

(*) :: (Int, Int) -> (Int, Int) -> (Int, Int) #

negate :: (Int, Int) -> (Int, Int) #

abs :: (Int, Int) -> (Int, Int) #

signum :: (Int, Int) -> (Int, Int) #

fromInteger :: Integer -> (Int, Int) #