Adding new derivation rule



On 2012-06-18, J?rome Laurens <jerome.laurens at u-bourgogne.fr> wrote:

> suppose myF and myG are 2 custom functions such that
> diff(myF(x),x)=myG(x)

I think what you want is gradef. E.g.,

  gradef (foo (x), bar (x));
  diff (sin (foo (x)), x);
   => bar(x)*cos(foo(x))

See ?? gradef for more info.

HTH

Robert Dodier