Top "Distance" questions

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

Zip code distance calculator

I have a spreadsheet of addresses and I need to calculate the distance between all of their zip codes and …

excel vba distance zipcode
How do I manipulate/access elements of an instance of "dist" class using core R?

A basic/common class in R is called "dist", and is a relatively efficient representation of a symmetric distance matrix. …

r class matrix indexing distance
What is the fastest algorithm to calculate the minimum distance between two sets of points?

I want to find the minimum distance between two polygons. I have to find the minimum of shortest distance between …

algorithm geometry distance computational-geometry
How to compute distances between centroids and data matrix (for kmeans algorithm)

I am a student of clustering and R. In order to obtain a better grip of both I would like …

r matrix cluster-analysis distance k-means
How to calculate Euclidean length of a matrix without loops?

It seems like the answer to this should be simple, but I am stumped. I have a matrix of Nx3 …

matlab distance norm euclidean-distance vectorization
A* manhattan distance

I searched for the algorithm/pseudocode of A* I followed it and coded it. I used Manhattan distance for h(…

distance path-finding shortest-path a-star heuristics
How to convert a symmetric matrix into "dist" object?

I want to use hclust to cluster a data. But I don't want to use "dist()" to generate the dist …

r matrix distance
Find K nearest neighbors, starting from a distance matrix

I'm looking for a well-optimized function that accepts an n X n distance matrix and returns an n X k …

r sorting matrix distance knn
Fastest available algorithm for distance transform

I am looking for the fastest available algorithm for distance transform. According to this site http://homepages.inf.ed.ac.…

algorithm image-processing transform distance
MongoDB Bound Queries: How do I convert mile to radian?

I have a collection of stores with a geospacial index on the location propery. What I am trying to do …

mongodb geospatial distance getdistance