I have a function
MinVarGeneralThermal1[T, 5, d]
which yields me the following list:
{{0.00917615, 0.0136892, 0.0204219, 0.0304659, 0.0454498, 0.10115,
0.225114, 0.335831, 0.150899, 0.0678031}}
As you can see these are not single pairs of entires of the form
{{1},{2},{3},{4},...}
which makes it not possible for me to target single entries using a command like
MinVarGeneralThermal1[T, 5, d][[3]]
Is it possible to write a swap command that works something like this
swap[MinVarGeneralThermal1[T, 5, d],{1,3}]
which would essentially swap the first and third entries of the list (for example) ? In the end I want to be able to swap any two entries I want.
Thanks in advance !