Hi,
I have been searching everywhere but I am unable to find a reference to what I need. I have a huge number of entries where each entry is composed of three long numbers:
a b c
1 2 40
2 1 40
1 8 12
3 9 13
8 1 12
ect.
in my algorithm I will find that I need to disregard values in column a which will then lead me to disregard values in column b.
I initially thought that I may want to use three arrays and just change the disregarded value to a null value with each iteration. But I am hoping to find function that would allow me to not have to loop through the entire array every time. This lead me to want to define the columns as lists where I could remove specific values from the list and reduce the size of the list with each iteration of the algorithm. The problem then is how do I say, listb.remove(8) and at the same time have the corresponding values for lista(1) and listc(12) removed? Any thoughts or ideas?
Thanks!
I have been searching everywhere but I am unable to find a reference to what I need. I have a huge number of entries where each entry is composed of three long numbers:
a b c
1 2 40
2 1 40
1 8 12
3 9 13
8 1 12
ect.
in my algorithm I will find that I need to disregard values in column a which will then lead me to disregard values in column b.
I initially thought that I may want to use three arrays and just change the disregarded value to a null value with each iteration. But I am hoping to find function that would allow me to not have to loop through the entire array every time. This lead me to want to define the columns as lists where I could remove specific values from the list and reduce the size of the list with each iteration of the algorithm. The problem then is how do I say, listb.remove(8) and at the same time have the corresponding values for lista(1) and listc(12) removed? Any thoughts or ideas?
Thanks!