Compute l1-similarity between two vectors

l1_similarity(x, y)

Arguments

x

a vector

y

a vector

Value

a vector equal to -abs(x-y)