|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
DistanceFunction
DistanceFunction
is an option for functions such as Nearest that specifies the distance value to assume between any two specified points.
DetailsDetails
- DistanceFunction->f specifies that the distance assumed between x and y should be
.
ExamplesExamplesopen allclose all
Basic Examples (2)Basic Examples (2)
Find points closest to
using ChessboardDistance:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
Find clusters in Boolean data using DiceDissimilarity:
| In[1]:= |
| In[2]:= |
| Out[2]= |
Clusters obtained with the default distance function:
| In[3]:= |
| Out[3]= |
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
