Alle Optionen
stretch  ] [  buster  ] [  bullseye  ] [  bookworm  ] [  sid  ]
[ Quellcode: libmath-convexhull-monotonechain-perl  ]

# Paket: libmath-convexhull-monotonechain-perl (0.1-1 und andere)

## 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.

Markierungen: Software-Entwicklung: Perl-Entwicklung, Bibliotheken, Implementiert in: implemented-in::c, implemented-in::perl, Rolle: Entwicklungs-Bibliothek

## Andere Pakete mit Bezug zu libmath-convexhull-monotonechain-perl

 hängt ab von empfiehlt schlägt vor erweitert
• dep: libc6 (>= 2.1.3) [i386]
GNU-C-Bibliothek: Laufzeitbibliotheken
auch ein virtuelles Paket, bereitgestellt durch libc6-udeb
dep: libc6 (>= 2.17) [arm64, ppc64el]
dep: libc6 (>= 2.2) [mips, mips64el, mipsel, s390x]
dep: libc6 (>= 2.2.5) [amd64]
dep: libc6 (>= 2.4) [armel, armhf]
• dep: perl (>= 5.28.0-3)
Larry Wall's Practical Extraction und Report Language
• dep: perlapi-5.28.0
virtuelles Paket, bereitgestellt durch perl-base