apoc.algo.euclideanDistance

Function

apoc.algo.euclideanDistance([vector1], [vector2]) given two collection vectors, calculate the euclidean distance (square root of the sum of the squared differences)

Signature

apoc.algo.euclideanDistance(vector1 :: LIST? OF NUMBER?, vector2 :: LIST? OF NUMBER?) :: (FLOAT?)

Input parameters

Name Type Default

vector1

LIST? OF NUMBER?

null

vector2

LIST? OF NUMBER?

null