all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source:  ]

Package: libmath-convexhull-monotonechain-perl (0.1-2 and others) [debports]

Links for libmath-convexhull-monotonechain-perl

Screenshot

Debian Resources:

Download Source Package :

Not found

Maintainers:

External Resources:

Similar packages:

Perl module to calculate a convex hull using Andrew's monotone chain algorithm

Math::ConvexHull::MonotoneChain optionally exports a single function convex_hull which calculates the convex hull of the input points and returns it. Andrew's monotone chain convex hull algorithm constructs the convex hull of a set of 2-dimensional points in O(n*log(n)) time.

It does so by first sorting the points lexicographically (first by x-coordinate, and in case of a tie, by y-coordinate), and then constructing upper and lower hulls of the points in O(n) time. It should be somewhat faster than a plain Graham's scan (also O(n*log(n))) in practice since it avoids polar coordinates.

Other Packages Related to libmath-convexhull-monotonechain-perl

  • depends
  • recommends
  • suggests
  • enhances

Download libmath-convexhull-monotonechain-perl

Download for all available architectures
Architecture Version Package Size Installed Size Files
hppa (unofficial port) 0.1-2+b4 9.3 kB37.0 kB [list of files]