On Sun, Mar 29, 2009 at 7:56 PM, Ondrej Certik <ond...@certik.cz> wrote:
>
>>> But personally, I find the variants for specifying variables, and
>>> their associated ranges, somewhat confusing.  I can never quite
>>> remember if the x is needed or not, and then does it take the form:
>>> x,a,b  or  (x,a,b)?
>>
>> I now think (x,a,b) should always be *supported*, though it shouldn't
>> be the only option.
>
> If you mean this:
>
> integrate(exp(-x**2), (x, -oo, oo))
>
> then that'd be awesome.

That is what I mean.

> As to the derivative, why not to just use .diff()?

I don't understand the question.

> Also how about the series expansion, will you continue using
> taylor, or will you use
>
> sin(x).series(x, 0, 5)
>
> like ginac? That way, the Sage and sympy's syntax would converge a bit.

I don't know.   In retrospect I like "series" better since it explains
what one gets whereas "Taylor" is just the name of somebody.

>
> In my experience it's not such a big deal to have a bit different
> notation, as for example in our lambdify module in sympy:
>
> http://git.sympy.org/?p=sympy.git;a=blob;f=sympy/utilities/lambdify.py;h=312d0486dcbde5b8b7a7eb0659377dc9a1d7a9a0;hb=HEAD
>
> we convert between python math module, numpy, mpmath and sympy and all
> 4 modules have a bit different naming scheme. It works pretty fine.
>
> I don't have an opinion, if it's better to support both taylor() and
> series() in sympy or Sage, so that users don't have to think about it,
> or if it's better to choose and stick to it. What do you think?

I don't like removing things that have been in Sage for a while, since
that will break lots of existing code.

>
> Ondrej
>
> P.S. I should upgrade the git on our server, since they already fixed
> those ugly urls.
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
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