Compute the Wasserstein distance between to finite distributions.
wassDist(a, b, distMat, p = 1)
a, b
distMat
p
The Wasserstein distance.
Useful links