I have ordered list of real numbers. Instead of having integer order number for each element (1, 2,...), I would like to have order numbers that reflect the proximity between two elements. For example, if 4th element's value is 0.5678 and 5th element has value of 0.5682, I want to have order number for 5th element to be something like 4.12 because two numbers are very close.
Are there any methods to do things like this?
2007-12-22
20:57:38
·
2 answers
·
asked by
Anonymous
in
Science & Mathematics
➔ Chemistry