I have a question about binarysearch and multidimentional array.
Suppose the array
ar(n,3)
ar(1,1) = 50
ar(1,2) = 57
ar(1,3) = 20
ar(2,1) = 278
ar(2,2) = 24
ar(2,3) = 21
....
and suppose that ar is sorted on index 3
for a fast search I want to use binarysearch for that index
is this possible ?
are there methods in vb.net or must i make myself a function for that problem
Thanks for any response
Suppose the array
ar(n,3)
ar(1,1) = 50
ar(1,2) = 57
ar(1,3) = 20
ar(2,1) = 278
ar(2,2) = 24
ar(2,3) = 21
....
and suppose that ar is sorted on index 3
for a fast search I want to use binarysearch for that index
is this possible ?
are there methods in vb.net or must i make myself a function for that problem
Thanks for any response