Hi, I need to create a polynomial ring with arbitrary number of variables [n] and at some point during computation should be able to substitute values for a subset of variables. I can use the following method to generate my ring: ##-------------------------------------------- n=2 F = GF(7) Rx=PolynomialRing(F,n,'x') X=Rx.gens() ##---------------------------------------------- But if I take an element f = x0+x1 then how to substitute values for x0 and x1? In general I could use f(x0 = 1, x1 = 1) but with above method this doesnot seem to work.
Any help is highly appreciated.... -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/f187ac6f-b959-4ff5-8e26-ace4d6535818n%40googlegroups.com.