On Wednesday, July 2, 2014 9:22:58 AM UTC-5, Donald Lacombe wrote:
>
> R = pairwise(Euclidean(),xc,yc) but received the following message:
>

Given your usage, I believe you need to concatenate your xc and yc matrices 
such that each column is a point in your plane, and call the two-argument 
form of pairwise(). You can generate that directly: Xc=rand(2, 8), with the 
first row taken as xc and the second as yc.

The Distance.jl README gets into the sizes and meanings of the input(s) to 
pairwise(): 
https://github.com/JuliaStats/Distance.jl#computing-pairwise-distances

Reply via email to