I want to substitute n values into polynomial with n variables.
I guess the syntax to do this is (if g is my polynomial with
indeterminates z[1], ..., z[n]).
f.subs({z[1]:value1, z[2]:value2, ..., z[n]:valuen})
but how do I actually do this? n is not set, so I just can't type
this out.
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---