-
-
Couldn't load subscription status.
- Fork 680
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.
CC: @burcin
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/15021