On Sat, Nov 22, 2008 at 10:56 PM, Tim Lahey <[EMAIL PROTECTED]> wrote:
> As for the option to use Maple/Mathematica, I think as long as there
> is relatively good conversion of expressions, it's best to just let
> the user call the Maple/Mathematica command directly. Otherwise, you
> need to write code to detect if one is installed and call it with
> a fallback plan if they're not.

I don't envision any autodetection or anything like that.  What I envision
is that the integrate command has an option algorithm='maple', say, that
does the integral transparently using maple, e.g.,

sage: integrate(sin(x)*cos(x)*x)
(sin(2*x) - 2*x*cos(2*x))/8
sage: integrate(sin(x)*cos(x)*x, algorithm='maple')
(sin(2*x) - 2*x*cos(2*x))/8
sage: integrate(sin(x)*cos(x)*x, algorithm='mathematica')
(sin(2*x) - 2*x*cos(2*x))/8
sage: integrate(sin(x)*cos(x)*x, algorithm='sympy')
(sin(2*x) - 2*x*cos(2*x))/8
sage: integrate(sin(x)*cos(x)*x, algorithm='axiom')
(sin(2*x) - 2*x*cos(2*x))/8

 - 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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to