Smallest enclosing circle problem: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 1,084: Line 1,084:


It is based on Welzl's algorithm and follows closely the C++ code [https://www.geeksforgeeks.org/minimum-enclosing-circle-set-2-welzls-algorithm/?ref=rp here].
It is based on Welzl's algorithm and follows closely the C++ code [https://www.geeksforgeeks.org/minimum-enclosing-circle-set-2-welzls-algorithm/?ref=rp here].
<syntaxhighlight lang="ecmascript">import "random" for Random
<syntaxhighlight lang="wren">import "random" for Random


var Rand = Random.new()
var Rand = Random.new()