Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

np euclidean distance python

import numpy as np
a = np.array((1,1,1))
b = np.array((2,2,2))
dist = np.linalg.norm(a-b)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #np #euclidean #distance #python
ADD COMMENT
Topic
Name
1+8 =