Skip to content

Instantly share code, notes, and snippets.

@SemantiveCode
Last active December 18, 2018 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SemantiveCode/0cff4536107212d40bd00aab91282fd3 to your computer and use it in GitHub Desktop.
Save SemantiveCode/0cff4536107212d40bd00aab91282fd3 to your computer and use it in GitHub Desktop.
def dummy(v, u):
s = 0
for v_i, u_i in zip(v, u):
s += (v_i - u_i)**2
return s ** 0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment