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

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

Links für libmath-convexhull-monotonechain-perl

Screenshot

Debian-Ressourcen:

Quellcode-Paket libmath-convexhull-monotonechain-perl herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

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

libmath-convexhull-monotonechain-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Version Paketgröße Größe (installiert) Dateien
alpha (inoffizielle Portierung) 0.1-2+b3 9,2 kB93,0 kB [Liste der Dateien]
amd64 0.1-2+b3 8,9 kB42,0 kB [Liste der Dateien]
arm64 0.1-2+b3 9,0 kB94,0 kB [Liste der Dateien]
armel 0.1-2+b3 9,9 kB37,0 kB [Liste der Dateien]
armhf 0.1-2+b3 8,6 kB37,0 kB [Liste der Dateien]
hppa (inoffizielle Portierung) 0.1-2+b3 9,3 kB37,0 kB [Liste der Dateien]
i386 0.1-2+b3 9,1 kB41,0 kB [Liste der Dateien]
ia64 (inoffizielle Portierung) 0.1-2+b3 10,2 kB42,0 kB [Liste der Dateien]
m68k (inoffizielle Portierung) 0.1-2+b3 8,6 kB37,0 kB [Liste der Dateien]
mips64el 0.1-2+b3 9,0 kB94,0 kB [Liste der Dateien]
ppc64 (inoffizielle Portierung) 0.1-2+b3 9,5 kB94,0 kB [Liste der Dateien]
ppc64el 0.1-2+b3 9,5 kB94,0 kB [Liste der Dateien]
riscv64 0.1-2+b2 9,0 kB38,0 kB [Liste der Dateien]
s390x 0.1-2+b3 8,8 kB37,0 kB [Liste der Dateien]
sh4 (inoffizielle Portierung) 0.1-2+b3 9,1 kB93,0 kB [Liste der Dateien]
sparc64 (inoffizielle Portierung) 0.1-2+b3 9,0 kB1.054,0 kB [Liste der Dateien]
x32 (inoffizielle Portierung) 0.1-2+b3 9,0 kB41,0 kB [Liste der Dateien]