all options
stretch  ] [  buster  ] [  bullseye  ] [  bookworm  ] [  sid  ]
[ Source: libmath-convexhull-monotonechain-perl  ]

Package: libmath-convexhull-monotonechain-perl (0.1-1 and others)

Links for libmath-convexhull-monotonechain-perl


Debian Resources:

Download Source Package libmath-convexhull-monotonechain-perl:


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.

Tags: Software Development: Perl Development, Libraries, Implemented in: C

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
amd64 0.1-1+b4 8.4 kB38.0 kB [list of files]
arm64 0.1-1+b3 8.2 kB37.0 kB [list of files]
armel 0.1-1+b4 9.7 kB37.0 kB [list of files]
armhf 0.1-1+b4 8.1 kB33.0 kB [list of files]
i386 0.1-1+b4 8.6 kB37.0 kB [list of files]
mips 0.1-1+b4 8.3 kB37.0 kB [list of files]
mips64el 0.1-1+b2 8.4 kB38.0 kB [list of files]
mipsel 0.1-1+b4 8.4 kB37.0 kB [list of files]
ppc64el 0.1-1+b2 8.6 kB93.0 kB [list of files]
s390x 0.1-1+b6 8.4 kB38.0 kB [list of files]