<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Increased precision for complex integration</title>
    <link>http://www.mapleprimes.com/questions/142747-Increased-Precision-For-Complex-Integration</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 14:09:31 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 14:09:31 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Increased precision for complex integration</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Increased precision for complex integration</title>
      <link>http://www.mapleprimes.com/questions/142747-Increased-Precision-For-Complex-Integration</link>
    </image>
    <item>
      <title>Reasonably fast</title>
      <link>http://www.mapleprimes.com/questions/142747-Increased-Precision-For-Complex-Integration?ref=Feed:MaplePrimes:Increased precision for complex integration:Comments#answer142765</link>
      <itunes:summary>&lt;p&gt;If Digits = 15 is OK with you then method = _d01amc is very fast (as fast as Digits=10 without specifying a method):&lt;/p&gt;
&lt;p&gt;evalf[15](Int((phi(g_line(t,mu0,c0))/(g_line(t,mu0,c0)-mu0)*exp(-l*g_line(t,mu0,c0))&lt;br&gt;&amp;nbsp; *diff(g_line(t,mu0,c0),t)),t=0..infinity,method = _d01amc));&lt;/p&gt;
&lt;p&gt;#Result 0.999887009423573e-1-.605301458903814*I&lt;/p&gt;
&lt;p&gt;This agrees with the result 0.9998870094e-1-.6053014589*I from&lt;/p&gt;
&lt;p&gt;evalf(Int((phi(g_line(t,mu0,c0))/(g_line(t,mu0,c0)-mu0)*exp(-l*g_line(t,mu0,c0))&lt;br&gt;&amp;nbsp; *diff(g_line(t,mu0,c0),t)),t=0..infinity));&lt;/p&gt;
&lt;p&gt;This was done in Maple 16.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;If Digits = 15 is OK with you then method = _d01amc is very fast (as fast as Digits=10 without specifying a method):&lt;/p&gt;
&lt;p&gt;evalf[15](Int((phi(g_line(t,mu0,c0))/(g_line(t,mu0,c0)-mu0)*exp(-l*g_line(t,mu0,c0))&lt;br&gt;&amp;nbsp; *diff(g_line(t,mu0,c0),t)),t=0..infinity,method = _d01amc));&lt;/p&gt;
&lt;p&gt;#Result 0.999887009423573e-1-.605301458903814*I&lt;/p&gt;
&lt;p&gt;This agrees with the result 0.9998870094e-1-.6053014589*I from&lt;/p&gt;
&lt;p&gt;evalf(Int((phi(g_line(t,mu0,c0))/(g_line(t,mu0,c0)-mu0)*exp(-l*g_line(t,mu0,c0))&lt;br&gt;&amp;nbsp; *diff(g_line(t,mu0,c0),t)),t=0..infinity));&lt;/p&gt;
&lt;p&gt;This was done in Maple 16.&lt;/p&gt;</description>
      <guid>142765</guid>
      <pubDate>Tue, 29 Jan 2013 04:25:16 Z</pubDate>
      <itunes:author>Preben Alsholm</itunes:author>
      <author>Preben Alsholm</author>
    </item>
    <item>
      <title>decay</title>
      <link>http://www.mapleprimes.com/questions/142747-Increased-Precision-For-Complex-Integration?ref=Feed:MaplePrimes:Increased precision for complex integration:Comments#comment142772</link>
      <itunes:summary>&lt;p&gt;Perhaps Axel might have some clever insight.&lt;/p&gt;
&lt;p&gt;I was suspicious of the last 3 digits or so from _d01amc. So here is _d01ajc on a finite interval. I doubt that I understand this integral well yet...&lt;/p&gt;
&lt;pre&gt;restart;

phi:=z-&amp;gt;(z-1)^(9/10)*(z-2)^(6/10)*(z+1)^(8/10)
        /(z*(z-(21/10))^(9/10)*(z+2)^(4/10)):
g_line:=(t,mu,c)-&amp;gt;mu+t+c*t*I:
igrand:=(phi(g_line(t,mu0,c0))/(g_line(t,mu0,c0)-mu0)
        *exp(-l*g_line(t,mu0,c0))*diff(g_line(t,mu0,c0),t)):

igrand:=eval(igrand,[mu0=2,c0=0.1,l=1]):

# Various kinds of simplification (while integrand is exact) do not
# seem to improve significantly the accuracy of the integrand itself.
# (But maybe someone can do that better...)
# For now, reverting to floats throughout.
igrand:=subsindets(igrand,rational,evalf):
T:=Int(igrand, t=0..30, digits=15, epsilon=0.5e-14, method=_d01ajc):

CodeTools:-Usage( evalf[15](T) );
memory used=4.20MiB, alloc change=10.06MiB, cpu time=514.00ms, real time=530.00ms
            0.0999887009423848 - 0.605301458903795 I
&lt;/pre&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Perhaps Axel might have some clever insight.&lt;/p&gt;
&lt;p&gt;I was suspicious of the last 3 digits or so from _d01amc. So here is _d01ajc on a finite interval. I doubt that I understand this integral well yet...&lt;/p&gt;
&lt;pre&gt;restart;

phi:=z-&amp;gt;(z-1)^(9/10)*(z-2)^(6/10)*(z+1)^(8/10)
        /(z*(z-(21/10))^(9/10)*(z+2)^(4/10)):
g_line:=(t,mu,c)-&amp;gt;mu+t+c*t*I:
igrand:=(phi(g_line(t,mu0,c0))/(g_line(t,mu0,c0)-mu0)
        *exp(-l*g_line(t,mu0,c0))*diff(g_line(t,mu0,c0),t)):

igrand:=eval(igrand,[mu0=2,c0=0.1,l=1]):

# Various kinds of simplification (while integrand is exact) do not
# seem to improve significantly the accuracy of the integrand itself.
# (But maybe someone can do that better...)
# For now, reverting to floats throughout.
igrand:=subsindets(igrand,rational,evalf):
T:=Int(igrand, t=0..30, digits=15, epsilon=0.5e-14, method=_d01ajc):

CodeTools:-Usage( evalf[15](T) );
memory used=4.20MiB, alloc change=10.06MiB, cpu time=514.00ms, real time=530.00ms
            0.0999887009423848 - 0.605301458903795 I
&lt;/pre&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>142772</guid>
      <pubDate>Tue, 29 Jan 2013 12:29:15 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>Thank you</title>
      <link>http://www.mapleprimes.com/questions/142747-Increased-Precision-For-Complex-Integration?ref=Feed:MaplePrimes:Increased precision for complex integration:Comments#comment142803</link>
      <itunes:summary>&lt;p&gt;&lt;span&gt;Thank you very much for suggesting the option,&lt;br&gt;&amp;nbsp; &amp;nbsp;method = _d01amc&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It did the job perfectly. I needed to compute the integral for 9 different phi functions similar to the one described, but earlier it didn't get any result after 10 minutes.&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;The suggestion to write phi exact instead of with floats increased the speed of an integral where the integration curve was finite.&lt;/p&gt;
&lt;p&gt;Thank you both very much :D&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;span&gt;Thank you very much for suggesting the option,&lt;br&gt;&amp;nbsp; &amp;nbsp;method = _d01amc&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It did the job perfectly. I needed to compute the integral for 9 different phi functions similar to the one described, but earlier it didn't get any result after 10 minutes.&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;The suggestion to write phi exact instead of with floats increased the speed of an integral where the integration curve was finite.&lt;/p&gt;
&lt;p&gt;Thank you both very much :D&lt;/p&gt;</description>
      <guid>142803</guid>
      <pubDate>Wed, 30 Jan 2013 14:06:02 Z</pubDate>
      <itunes:author>Rune - math</itunes:author>
      <author>Rune - math</author>
    </item>
  </channel>
</rss>