On Jul 27, 3:25 pm, MartinX <[email protected]> wrote: > I have had a go at implementing trac #3401, symbolic Li, and would like to > override the behaviour of integrate(), but I can't see how to do it. We > have the _derivative_ method in BuiltinFunction to define the derivative > of a function but no equivalent _integrate_ method. Is there reason why > this is so?
I don't know that this is something we have - integrate just goes through Maxima (or Sympy or whatever if you choose a different algorithm). Pynac doesn't support integrate methods. I suppose if one were sufficiently clever one could do this (_integrate_), but that shouldn't hold up #3401, which should be much easier now that #11143 is ready to go in - that is, if Volker or someone can verify which patches should actually be applied there ;-) Also, how would the integral of Li be different from the integral of li - by a linear term, presumably? If we send it to Maxima appropriately, this would probably solve the issue (not because Maxima has both Li and li, but because we could perhaps get around that). Why don't you put up your code at #3401 and we'll see if there is a way to massage this into shape! -- -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
