Open
Description
Here's a test case (Julia 1.11.2, Distances.jl 0.10.12):
X = reshape(Int16[0, 0], 2, 1)
Y = reshape(Int16[1000, 1000], 2, 1)
julia> colwise!(SqEuclidean(), Matrix{Float64}(undef, 1, 1), X, Y)
1×1 Matrix{Float64}:
-31616.0
julia> pairwise!(SqEuclidean(), Matrix{Float64}(undef, 1, 1), X, Y, dims=2)
1×1 Matrix{Float64}:
33920.0
Metadata
Metadata
Assignees
Labels
No labels