Anonymous user
Convex hull: Difference between revisions
→{{header|Julia}}
(Added julia 1.0.4 example using an library) |
|||
Line 683:
=={{header|Julia}}==
<lang Julia># v1.0.4
using Polyhedra, CDDLib
Line 690:
Pch = convexhull(P, P)
removevredundancy!(Pch)
println("$Pch")</lang>
{{out}}
<pre>convexhull([5.0, 19.0], [19.0, -8.0], [17.0, 5.0], [-3.0, 15.0], [-9.0, -3.0], [12.0, 17.0], [-3.0, -9.0])</pre>
|