The Distance package assumes that *each column is a point*. Since Julia uses column-major layout for arrays, using column-major ways to organize your data would be more efficient in general. If you have a matrix comprised of points along rows, you can supply the transposed versions to the package's functions.
Dahua On Wednesday, June 4, 2014 7:50:35 AM UTC-5, Carlos Baptista wrote: > > Yes I have seen it. I tried something with the function pairwise, but I > did not really get what I want. If I have two sets of sizes N and M > respectively, I expect as return value a matrix of size NxM. What I got out > of pairwise is smaller than that. >
