Convex Hull: Difference between revisions

Jump to navigation Jump to search
50 bytes added ,  22:19, 10 September 2022
m
Text replacement - "<source" to "<syntaxhighlight"
m (Examples category)
m (Text replacement - "<source" to "<syntaxhighlight")
 
(3 intermediate revisions by 2 users not shown)
Line 35: Line 35:


== Code ==
== Code ==
<source lang="apl">
<syntaxhighlight lang="apl">
ConvexHull←{
ConvexHull←{
⍝ ⍵: matrix (2 rows) of points - first row:abscissae  second row:ordinates
⍝ ⍵: matrix (2 rows) of points - first row:abscissae  second row:ordinates
Line 64: Line 64:
     (⊂ixHull)⌷[1]pts
     (⊂ixHull)⌷[1]pts
  }
  }
</source>
</syntaxhighlight>


[[Category:Examples]]
[[Category:Examples]][[Category:Dyalog APL examples]]

Navigation menu