>>
>
> Let me be more clear.  I think that:
>
> integrate(a) and diff(a) should be deprecated/not supported
> integrate(b) and diff(b) be deprecated/not supported
> integrate(a+b) and diff(a+b) be deprecated/not supported
>
> (each of these should require a explicit variable specified)
>

I agree.  I think it would be terrible if diff(x) returned 1 while
diff(a) returned 0 (with both a and x defined as variables), but it
would also be terrible if diff(a) returned 1 (since it's an expression
in just one variable, so you must mean to differentiate with that
variable, right?)

Feel free to ignore my opinion since I never use var() or expect to,
and have not taught calculus since I left the US in 1984!

John

> I think this is similar to how we insist that students write the variable of
> integration after the "d" in an integral.
>
> However, in the case of callable functions with variables specified, I
> suppose it would be a nice shortcut to use the explicit intent the user
> expressed when creating the function to have a default variable for
> integration and differentiation.
>
> Jason
>
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>

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

Reply via email to