Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Integrate v Derivative Implementation for Symbolics
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
MartinX  
View profile  
 More options Jul 27 2012, 3:25 pm
From: MartinX <mar...@questors.plus.com>
Date: Fri, 27 Jul 2012 12:25:01 -0700 (PDT)
Local: Fri, Jul 27 2012 3:25 pm
Subject: Integrate v Derivative Implementation for Symbolics

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?  


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kcrisman  
View profile  
 More options Jul 27 2012, 4:24 pm
From: kcrisman <kcris...@gmail.com>
Date: Fri, 27 Jul 2012 13:24:35 -0700 (PDT)
Local: Fri, Jul 27 2012 4:24 pm
Subject: Re: Integrate v Derivative Implementation for Symbolics

On Jul 27, 3:25 pm, MartinX <mar...@questors.plus.com> 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!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MartinX  
View profile  
 More options Jul 27 2012, 4:44 pm
From: MartinX <mar...@questors.plus.com>
Date: Fri, 27 Jul 2012 13:44:17 -0700 (PDT)
Local: Fri, Jul 27 2012 4:44 pm
Subject: Re: Integrate v Derivative Implementation for Symbolics

Yes,  I have simply tweaked log_integral, to get Li and it is the linear
term that is my headache.  I can't see Li in any of the integrators, but I
can get a valid integration if I return Li as li(x)-li(2) in _eval(). But
to me that seems untidy. It would be nice if _eval returned Li(x) but  pass
to integrate() li(x)-li(2).  I'll post code to trac when I get an account
set up.  The #11143 patches I downloaded, applied ok on 5.2.rc02, I'll see
if there are any updates but given I am a newbie with Mercurial I may go
horribly wrong.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rjf  
View profile  
 More options Jul 28 2012, 5:03 pm
From: rjf <fate...@gmail.com>
Date: Sat, 28 Jul 2012 14:03:24 -0700 (PDT)
Local: Sat, Jul 28 2012 5:03 pm
Subject: Re: Integrate v Derivative Implementation for Symbolics

On Friday, July 27, 2012 12:25:01 PM UTC-7, MartinX 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?

It may be related to the fact that derivatives for nearly all special
functions of physics (Like Li) can be listed, one per function,
 on a few pages of a reference book.  Yet integral tables are hundreds of
pages long, and even then, they are incomplete.

RJF


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »