ComputationalGeometry`
ComputationalGeometry`
NearestNeighbor
As of Version 6.0, NearestNeighbor has been superseded by Nearest[{{x1,y1},{x2,y2},…}->Automatic,{a,b}].
NearestNeighbor[{a,b},{{x1,y1},{x2,y2},…}]
is an obsolete function.
更多信息和选项
- To use NearestNeighbor, you first need to load the Computational Geometry Package using Needs["ComputationalGeometry`"].