On Thu, 08 Nov 2007 19:57:02 -0000, Paul Zimmermann <[EMAIL PROTECTED]> wrote:

>
> On http://sagemath.org/doc/html/ref/module-sage.calculus.calculus.html one
> can read:
>
> sage: var('x, u, v')
> (x, u, v)
> sage: f = expand((2*u*v^2-v^2-4*u^3)^2 * (-u)^3 * (x-sin(x))^3)     # not 
> tested -- trac #946
>
> This seems to work now:
>
> sage: var('x, u, v')
> sage: f = expand((2*u*v^2-v^2-4*u^3)^2 * (-u)^3 * (x-sin(x))^3)
> sage: f.factor()
> u^3*(2*u*v^2 - v^2 - 4*u^3)^2*(sin(x) - x)^3

You're right this works fine now.  I also tried removing all the "#not 
tested"'s, so the lines
are doctested and running the doctests on osx and 64-bit linux (sage.math), and 
doctesting
calculus.py did not hang.  I've posted a patch, and it will be safe to close 
that ticket
once the patch goes in.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to