Skip to main content
5 events
when toggle format what by license comment
Mar 5, 2014 at 19:43 history edited Szabolcs CC BY-SA 3.0
added 97 characters in body
Mar 5, 2014 at 19:23 comment added Szabolcs @Steve The warning only referred to the two argument types leading to two different types of calculations. I would expect f[x,y,z] /. {x->1,y->2,z->3} to give the same result as f[1,2,3]. Maybe I misunderstood you and you don't actually want these two to return different things. Otherwise using multiple argument "templates" is quite common in Mathematica.
Mar 5, 2014 at 19:13 comment added Steve For what it's worth, the reason for this construction, at all, is that I have expressions which depend on many variable; there is a specific combination of some of the arguments which gives a characteristic scale of energy, and this last argument which is interdependent, we usually wish to examine at precise multiples of this energy quanta, such as 1, 2, or Sqrt[3] times it, for example. Anyway, it may be more trouble than it's worth
Mar 5, 2014 at 19:10 comment added Steve I appreciate your solution and also your warning. Even as I wrote this question I was cognizant of how shaky a foundation this problem rests on. I will probably spend a fair amount more time on this and perhaps come up with an alternate way of writing my theory altogether.
Mar 5, 2014 at 18:49 history answered Szabolcs CC BY-SA 3.0