GoDistances is a library for calculating different kind of distance between n-dimensional vectors. This code has been highly influenced by Bugra Akyildiz' kmeans project https://github.com/bugra/kmeans.
This lib comes with this distances calculations:
- Bray Curtis Distance
- Canberra Distance
- Chebyshev Distance -> Minkowski infinite
- Euclidean Distance
- Euclidean Distance Squared
- http://en.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance
- http://reference.wolfram.com/language/ref/SquaredEuclideanDistance.html
- Hamming Distance (Vectors only)
- LP-Norm Distance
- Manhattan Distance
- Minkowski Distance and Minkowski weighed Distance
- Vincenty Geo Distance
- http://en.wikipedia.org/wiki/Vincenty%27s_formulae
- [German] http://de.wikipedia.org/wiki/Orthodrome#Berechnungsbeispiel_Berlin_.E2.80.93_Tokio Logo based of original design by Renee French http://reneefrench.blogspot.de/ and modified by Julia R.