It is there. If D aand D1 ar two arrays with vectors in columns You have
this in Distance package.
julia> r = pairwise(Euclidean(), D,D1)
4x4 Array{Float64,2}:
4579.3 4528.87 2650.71 7326.62
5658.24 3646.92 2587.83 7348.04
5729.42 4581.69 1941.65 7266.23
5733.62 4656.58 2488.6 5902.54
in paresecs too ;)
Paul
W dniu środa, 4 czerwca 2014 14:50:35 UTC+2 użytkownik Carlos Baptista
napisał:
>
> 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.
>