Anonymous user
Closest-pair problem: Difference between revisions
m
→{{header|Maple}}
(→{{header|Maple}}: fixed brute force step to make sure it gets the right sub-set of L) |
|||
Line 2,284:
local
ModuleApply := proc(L::
local Lx, Ly, out;
Ly := sort(L, 'key'=(i->i[2]), 'output'='permutation');
|