Hi all,

I'm struggling with a problem, I can't really think of any tool that could help me, or where to start.

I'm trying to find a function that will give a number by providing a vector. For the following vectors the results should be something like :

v1 (5,19,23) -> x

v2 (4,20,24) -> y

v3 (5,19,87685) -> x+ε_{1}

v4 (5,19,236,820,109772,937) -> x+ε_{2}

with ε_{1}<< ε_{2}

First, i thought about using norms but the problem with the euclidian norm or other classical norms is that v1 and v2 will have a similar result which i don't want.

The main idea is that each number in a vector is linked to an object. Similar objects can have completely different index. My final goal is to determine which objects are similar. For instance, by comparing v1 and v3, since the result is similar and since they both contain 5 and 19, I could state that 87685 and 23 are similar.

Thanks a lot for your help.