Click or drag to resize

Distance Methods

The Distance type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCityBlockDistance Compute the city-block (Manhattan) distance between two data sets (1 norm).
Public methodStatic memberEuclideanDistance Computes the Euclidean distance between two data sets (2 norm).
Public methodStatic memberMaximumDistance Computes the maximum (Chebychev) distance between two data sets.
Public methodStatic memberPowerFunction Power distance function. Encapsulates GetDistance() on a newly constructed Distance.PowerDistance object as a Distance.Function delegate.
Public methodStatic memberSquaredEuclideanDistance Computes the squared Euclidean distance between two data sets.
Top
See Also