alla flaggor
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ Källkod: libmath-convexhull-monotonechain-perl  ]

Paket: libmath-convexhull-monotonechain-perl (0.1-2 och andra)

Länkar för libmath-convexhull-monotonechain-perl

Screenshot

Debianresurser:

Hämta källkodspaketet libmath-convexhull-monotonechain-perl:

Ansvarig:

Externa resurser:

Liknande paket:

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.

Märken: Software Development: Perl Development, Bibliotek, Implemented in: implemented-in::c, implemented-in::perl, Role: Development Library

Andra paket besläktade med libmath-convexhull-monotonechain-perl

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta libmath-convexhull-monotonechain-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Version Paketstorlek Installerad storlek Filer
alpha (inofficiell anpassning) 0.1-2+b4 9,2 kbyte93,0 kbyte [filförteckning]
amd64 0.1-2+b4 9,0 kbyte42,0 kbyte [filförteckning]
arm64 0.1-2+b4 9,1 kbyte94,0 kbyte [filförteckning]
armel 0.1-2+b4 9,9 kbyte37,0 kbyte [filförteckning]
armhf 0.1-2+b4 8,6 kbyte37,0 kbyte [filförteckning]
hppa (inofficiell anpassning) 0.1-2+b5 9,3 kbyte37,0 kbyte [filförteckning]
i386 0.1-2+b4 9,2 kbyte41,0 kbyte [filförteckning]
ia64 (inofficiell anpassning) 0.1-2+b3 10,2 kbyte42,0 kbyte [filförteckning]
loong64 (inofficiell anpassning) 0.1-2+b3 8,9 kbyte45,0 kbyte [filförteckning]
m68k (inofficiell anpassning) 0.1-2+b4 8,6 kbyte37,0 kbyte [filförteckning]
mips64el 0.1-2+b4 9,0 kbyte94,0 kbyte [filförteckning]
ppc64 (inofficiell anpassning) 0.1-2+b4 9,6 kbyte94,0 kbyte [filförteckning]
ppc64el 0.1-2+b4 9,5 kbyte94,0 kbyte [filförteckning]
riscv64 0.1-2+b3 8,9 kbyte38,0 kbyte [filförteckning]
s390x 0.1-2+b4 8,8 kbyte37,0 kbyte [filförteckning]
sh4 (inofficiell anpassning) 0.1-2+b4 9,1 kbyte93,0 kbyte [filförteckning]
sparc64 (inofficiell anpassning) 0.1-2+b4 9,0 kbyte1.054,0 kbyte [filförteckning]
x32 (inofficiell anpassning) 0.1-2+b4 9,0 kbyte41,0 kbyte [filförteckning]