Pakket: libmath-convexhull-monotonechain-perl (0.1-2 en anderen)
Verwijzigingen voor libmath-convexhull-monotonechain-perl
Debian bronnen:
Het bronpakket libmath-convexhull-monotonechain-perl downloaden:
- [libmath-convexhull-monotonechain-perl_0.1-2.dsc]
- [libmath-convexhull-monotonechain-perl_0.1.orig.tar.gz]
- [libmath-convexhull-monotonechain-perl_0.1-2.debian.tar.xz]
Beheerder:
Externe bronnen:
- Homepage [metacpan.org]
Vergelijkbare pakketten:
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.
Andere aan libmath-convexhull-monotonechain-perl gerelateerde pakketten
|
|
|
|
-
- dep: libc6 (>= 2.17)
- GNU C Bibliotheek: Gedeelde bibliotheken
Ook een virtueel pakket geboden door: libc6-udeb
-
- dep: perl (>= 5.36.0-4)
- Larry Wall's Practical Extraction and Report Language
-
- dep: perlapi-5.36.0
- virtueel pakket geboden door perl-base