12
votes
3answers
595 views

How to speed up the function DelaunayTriangulation?

First define a function meshGrid to generate some points: ...
15
votes
2answers
525 views

Efficient way of finding shortest distance between two sets of points in mathematica

I have two sets of 3D points, say a = RandomReal[1, {10, 3}]; b = RandomReal[1, {10, 3}]; I wanna find the first N pairs that have shortest distance between the ...