# Questions tagged [distance]

The tag has no usage guidance.

71 questions
Filter by
Sorted by
Tagged with
58 views

### How to find PlanarAngle[] across periodic boundaries?

Suppose we have a collection of points selected as being within a certain radius (0.1) of myCenterPoint: ...
• 1,303
97 views

### Efficient algorithm for Euclidean distance on a lattice [closed]

I am unable to code the problem in Mathematica. For the problem, please see the attached image. Help in this regard will be greatly appreciated. The statement of the problem is as follows: Consider a ...
• 21
1 vote
83 views

### Earth Mover Distance/Wasserstein Distance Of Two Lists

I am in need of calculating the Earth Mover Distance between two one-dimensional discrete distributions with finite support (a.k.a "two lists of identical length whose entries add up to 1"). ...
• 283
50 views

### How to find the position of the closest part to a certain sentence in a large paragraph?

I have a large paragraph, the part of which is near to(not always equivalent to) one given sentence. Now I want to find the position of this part. For example, my paragraph is below (for convenience, ...
• 188
29 views

### Extracting GraphDistance out of SpatialGraphDistribution

I am trying to generate a graph which has Euclidean distances between the vertices. The documentation for SpatialGraphDistribution says that ...
• 379
1 vote
40 views

### Accelerate the distance function of two point sets

I have two point sets point and impPoint. I want to calculate a distance function from each element in the ...
• 141
33 views

### The smallest (and biggest) distance of points from the function

please give me an advice. I have points ("data", x and y coordinates). For these points, I created a residual function ...
• 41
114 views

• 11
1 vote