Top "Distance" questions

Distance is a numerical description of how far apart objects are.

Mahalonobis distance in R, error: system is computationally singular

I'd like to calculate multivariate distance from a set of points to the centroid of those points. Mahalanobis distance seems …

r distance similarity mahalanobis
Geo-Search (Distance) in PHP/MySQL (Performance)

I have a MySQL-table (MyISAM) containing about 200k entries of lat/long pairs that I select from, based on the …

php mysql performance distance gis
Calculate distance between colors in HSV space

I intend to find a distance metric between two colours in HSV space. Suppose that each colour element has 3 components: …

distance metrics hsv
How can I measure diagonal distance points?

I can compute horizontal and vertical points, but I cant figure out how to compute distance using diagonal points. Can …

c# winforms gdi distance measurement
Distance between two points without using the square root

Is it possible to calculate the distance between two points without having to use the math.h library? I know …

c distance points square-root
Manhattan Distance between tiles in a hexagonal grid

For a square grid the euclidean distance between tile A and B is: distance = sqrt(sqr(x1-x2)) + sqr(y1…

algorithm path distance hexagonal-tiles
Distance between two android phones

I'm wondering: other than GPS location, is there any way to find if two phones is within a certain distance …

android bluetooth distance
clustering with cosine similarity

I have a large data set that I would like to cluster. My trial run set size is 2,500 objects; when …

machine-learning cluster-analysis distance cosine-similarity
Calculate distance between two x/y coordinates?

I would like to calculate the distance between two x/y coordinates on the surface of a torus. So, this …

math grid coordinates distance
Finding Cities within 'X' Kilometers (or Miles)

This may or may not be clear, leave me a comment if I am off base, or you need more …

mysql gis coordinates distance coordinate-systems