#15021: Return unevaluated derivative
-------------------------------+--------------------------
Reporter: eviatarbach | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-5.12
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Dependencies:
Stopgaps: |
-------------------------------+--------------------------
Description changed by eviatarbach:
Old description:
> There should be a way to return an unevaluated derivative from within the
> `_derivative_` or `_tderivative_` method of a `BuiltinFunction`. Perhaps
> by returning `None`, like `_eval_` does for remaining unevaluated. As of
> now returning `None` causes a segmentation fault.
>
> This is important because for multivariate functions often only the
> derivative with respect to one variable may be known, so we want to
> return the unevaluated derivative if it's taken with respect to a
> variable in which we don't know the derivative. Right now it seems the
> only way to not return a derivative is to raise an exception.
New description:
There should be a way to return an unevaluated derivative from within the
`_derivative_` or `_tderivative_` method of a `BuiltinFunction`. Perhaps
by returning `None`, like `_eval_` does for remaining unevaluated. As of
now returning `None` causes a segmentation fault.
This is important because for multivariate functions often only the
derivative with respect to one variable may be known, so we want to return
the unevaluated derivative if it's taken with respect to a variable in
which we don't know the derivative. Right now it seems the only way to not
return an evaluated derivative is to raise an exception.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/15021#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.