I have an array of tuples representing the edges of a graph. I would now want to obtain the index of the tuple in the array. I’ve been using findin(myarray, (s,d)) but I get a zero element array despite the tuple being present in the array. Is there a way to get the index of the tuple in an array?
Thanks