search for: difftab

Displaying 1 result from an estimated 1 matches for "difftab".

Did you mean: difftar
2004 Jul 28
3
Best way to store negative indexes
Hi, I'm trying to figure out how to properly construct a graph of frequencies of a difference between 2 values, that is | i | - | j |. I'd like to know the best way to store the actual data because of course doing my_vector[i -j] will not work because the index could be negative. I know there's no hash table so what's the best solution, simplicity-wise ? Use a list of pair of