RosettaCodeData/Task/Closest-pair-problem/J/closest-pair-problem-2.j
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

17 lines
342 B
Text

]pts=:10 2 ?@$ 0
0.654682 0.925557
0.409382 0.619391
0.891663 0.888594
0.716629 0.9962
0.477721 0.946355
0.925092 0.81822
0.624291 0.142924
0.211332 0.221507
0.293786 0.691701
0.839186 0.72826
closestpairbf pts
+-----------------+---------+
|0.891663 0.888594|0.0779104|
|0.925092 0.81822| |
+-----------------+---------+