You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to be able to deal with arrays of arrays as well.
For example :
A = [rand(3) for _ in1:3]
P =pairwise(SqEuclidean(),A)
# Where pairwise(SqEuclidean(),hcat(A,...),dims=2) == P
In this case one could of course simply concatenate vectors, but for more complex objects (not necessarily real vectors) that would broaden the use of pairwise!
I could make a PR if you think that makes sense
The text was updated successfully, but these errors were encountered:
It would be nice to be able to be able to deal with arrays of arrays as well.
For example :
In this case one could of course simply concatenate vectors, but for more complex objects (not necessarily real vectors) that would broaden the use of pairwise!
I could make a PR if you think that makes sense
The text was updated successfully, but these errors were encountered: