Here is a little backwards compatible patch that makes "fix" accept keyword arguments and provide subs and substitute as aliases. This is for compatibility with the corresponding methods for symbolic expressions.
http://emis.uhasselt.be/sage_patches/subs_substitute.patch Doctest: sage: x, y = MPolynomialRing(ZZ,2,'xy').gens() sage: f = x^2 + y + x^2*y^2 + 5 sage: f.substitute(x=5) 30 + y + 25*y^2 Currently this is only implemented for (multi-)polynomials and not for rational functions. If there is interest then I can provide a subs/substitute method for rational functions also. Michel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sage-devel" 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/sage-devel?hl=en -~----------~----~----~----~------~----~------~--~---
