Hi Juan, > I'm trying to use subs method in PolynomialSequence, but when I doing that > I get the same PolynomialSequence. For example in code below my polynomial > sequence PS has only one polynomial (P) ... I'm trying to use subs but I > get the same polynomial. Where is wrong?
The thing is that PS.subs(...) does *not* modify PS. It only returns a new polynomial sequence with the substitution done. You should have done at the end PS_sub = PS.subs({R.gens()[0]:1,R.gens()[1]:1}) print PS_sub Vincent -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.