I am trying to define a variable and use it inside a function. However, I am having troubles calling the variable. For instance, I define the function
and I want to assign that function to a variable of the form
list1 = SpecialCycle = interSpecialCycle[permutation]
I want to use these variables in different functions I want to write, but when I call list1 nothing happens.
Is there a way to do this in mathematica?