I'm attempting to MapThread a function of two lists that requires the index of the list values. For example,
Where #1 represents the value from list 1, #2 the value from list 2, i the index of list 1, and j the index of list 2. The expected output is
This would presumably be accomplished by an "IndexedMapThread" function, but I'm not sure something like that exists in Mathematica currently.
Any suggestions on how to do this simply?