What kind of behavior do you expect from the following command?

isinstance(diff(sin(x),x),"what to put?")

Robert

On 3 dub, 20:32, pallab <pallabb...@gmail.com> wrote:
> Is there any way to check whether a symbolic expression is a
> derivative. Like,
>
> isinstance(diff(f(x),x),"what to put?")
>
> gives "True"
>
> and
>
> isinstance(f(x),"what to put?")
>
> gives false, assuming f is not a derivative itself.

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

Reply via email to