On 3/20/07, Kyle Schalm <[EMAIL PROTECTED]> wrote:
>
>
> how hard would it be to make this work?
>
> W.<w1,w2> = ZZ['w1','w2']
> factor(w1*w2)
> <big traceback>
>
> i'm using sage 2.3. if somebody could send me a code snippet,
> it would be hugely appreciated.

Work over QQ instead:

sage: W.<w1,w2> = QQ['w1','w2']
sage: factor(w1*w2)
w2 * w1

One can reduce factoring over ZZ to over QQ, with some work.
Volunteers...?

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to