> Actually, I see now that this is the wrong approach. subs should be > able to do multiple substitutions at once at the core level. The > reason is efficiency. Consider the following
Just to be clear, by "multiple substitutions at once" do you mean doing multiple substitutions before rebuilding the expression? So `(x + y + z).subs([(x, 1), (y, 2)])` would iterate through all replacements with the `[x, y, z]` args before rebuilding the Add? BTW, to keep this static one would either have to remove the subexpressions after a successful replacement or use dummies as intermediates. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
