I am writing a function along the lines of the following:
The idea would be to call somethings like
and then receive as output
vars as it appears on the right hand side is not the same
vars as appears on the left hand side because of how
Function works. (Mathematica warns of this by highlighting
vars in red with the message "A variable name has been used twice in a nested scoping construct, in a way that is likely to be an error.")
First, how can I get around the name scope problem that Mathematica warns about? Then, is this even a appropriate way to go about what I am trying to do?