On Tue, Feb 3, 2009 at 5:22 AM, David Joyner <wdjoy...@gmail.com> wrote:
>
> Sorry for replying to my own post, as I should have checked this sooner:
>
> sage: import sympy
> sage: sympy.integrate(f,x,y) == sympy.integrate(sympy.integrate(f,x),y)
> True
> sage: sympy.diff(f,x,y) == sympy.diff(sympy.diff(f,x),y)
> True
>
> So Sympy is consistent in terms of the diff/integrate syntax. However,
> For plot and integrate, the syntax is slightly different:
>
> sage: sympy.integrate( f, [x, 0, pi], [y, 0, pi])
> pi - 1/pi*sin(pi**2)
> sage: sympy.Plot( f, [x, 0, pi, numsteps], [y, 0, pi, numsteps])
> [0]: y*sin(x*y), 'mode=cartesian'
>
> This is because sympy (unlike Sage) does not have a default value for the
> number of samples used to create the plot.

Sage's plot syntax is better imho, so we should fix it in sympy.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to