I am trying to construct a
d-dimensional array of size
M x M x ... x M using a function
MyFunction was a function taking only a
List as input, then as I understand it the correct syntax would be
MyFunction requires three arguments, a list and two integers. I know I could just change the MyFunction by including the two integers in the list and then extracting them later, but that seems inelegant.
What I want is to do something like this:
- I mean I want Mathematica to insert the list of coordinates of the array entries into that argument of
MyFunction. Is there a nice way to do that?