I have some code which generates a bunch of expressions of the form Sum (n_i a_i) where each n_i is an integer and each a_i is an unknown in a field, and I'm most interested in the case when the field is GF (p). Set each of these expressions equal to zero. What's the best way in Sage to solve the resulting system of equations for the a_i's?
For example, I can't figure out how to use 'solve', because I can't figure out how to insist that the variables be treated as elements of a particular field. Is the only way to convert everything to a matrix equation? John --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---