On Aug 19, 2009, at 1:30 PM, William Stein wrote:

>
> That's exactly what I meant.  I was just being very sloppy because I
> was in a hurry.  The point is that "int f(x) d(x^2)  = int f(x) 2 x
> dx" seems very reasonable.    We could easily make Sage use this
> interpretation even though Maxima doesn't.  It woud be an additional
> 2-3 lines of code in calculus.py.
>
> I am equally for either:
>
> (1) raising an error like Mathematica does
> and
> (2) Use the interpretation that Ondrej and I agree upon above.
>
> I favor (1) a little bit more than (2), because it's clear that there
> is some confusion over this issue, and (1) will definitively reduce
> confusion, at the expense of making some user code slightly longer
> (but probably easier to understand!).
>
> William
>


I'm in favour of (1). If it isn't possible to integrate with respect to
that variable, it should raise an error, not try to interpret what the
user means.

---
Tim Lahey
PhD Candidate, Systems Design Engineering
University of Waterloo
http://www.linkedin.com/in/timlahey


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

Reply via email to