DOCUMENTATION CENTER SEARCH
Mathematica
>
Exploratory Data Analysis
>
Built-in
Mathematica
Symbol
Partitioning Data into Clusters
Using Nearest
Tutorials »
|
Nearest
InterpolatingFunction
FindClusters
See Also »
|
Computational Geometry
Exploratory Data Analysis
New in 6.0: Mathematics & Algorithms
New in 6.0: Numerical Data Handling
New in 6.0: Statistics
More About »
NearestFunction
NearestFunction
[
data
]
represents a function whose values give the elements closest to an element that is supplied.
MORE INFORMATION
NearestFunction
works like
Function
.
NearestFunction
is generated by
Nearest
[
data
]
.
NearestFunction[
...
][
x
]
gives the element closest to a particular element
x
.
NearestFunction[
...
][
x, n
]
gives the
n
nearest elements.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Generate a
NearestFunction
:
In[1]:=
Out[1]=
Apply to a single element:
In[2]:=
Out[2]=
Apply to several elements:
In[3]:=
Out[3]=
Scope
(1)
SEE ALSO
Nearest
InterpolatingFunction
FindClusters
TUTORIALS
Partitioning Data into Clusters
Using Nearest
MORE ABOUT
Computational Geometry
Exploratory Data Analysis
New in 6.0: Mathematics & Algorithms
New in 6.0: Numerical Data Handling
New in 6.0: Statistics
New in 6
© 2008 Wolfram Research, Inc.