The Distance type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CityBlockDistance |
Compute the city-block (Manhattan) distance between two data sets (1 norm).
| |
| Equals | (Inherited from Object.) | |
| EuclideanDistance |
Computes the Euclidean distance between two data sets (2 norm).
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MaximumDistance |
Computes the maximum (Chebychev) distance between two data sets.
| |
| PowerFunction |
Power distance function. Encapsulates GetDistance() on a newly constructed
Distance.PowerDistance object as a Distance.Function delegate.
| |
| SquaredEuclideanDistance |
Computes the squared Euclidean distance between two data sets.
| |
| ToString | (Inherited from Object.) |