Recent changes to 2540: Infinite recursion in bfzeta with complex argumentshttps://sourceforge.net/p/maxima/bugs/2540/Recent changes to 2540: Infinite recursion in bfzeta with complex argumentsenFri, 08 Feb 2013 12:00:10 -0000#2540 Infinite recursion in bfzeta with complex argumentshttps://sourceforge.net/p/maxima/bugs/2540/?limit=25#71bd<div class="markdown_content"><ul>
<li><strong>status</strong>: open --> closed</li>
</ul></div>Rupert SwarbrickFri, 08 Feb 2013 12:00:10 -0000https://sourceforge.net207614dac264dc9ed7e814d5b3c3d155813086b1#2540 Infinite recursion in bfzeta with complex argumentshttps://sourceforge.net/p/maxima/bugs/2540/?limit=25#3d85<div class="markdown_content"><p>I spent a little bit of time reading up on the Euler-Maclaurin formula and how one uses it and now understand a bit more about how this algorithm works. I'm going to push the patch that I posted above as a "stop-gap" (since Maxima dying from an infinite recursion is pretty rubbish behaviour). But I intend to sort out the complex version soonish.</p></div>Rupert SwarbrickWed, 06 Feb 2013 14:52:24 -0000https://sourceforge.nete9f1c8a530f9235b1b721c05012c078a0bb07889#2540 Infinite recursion in bfzeta with complex argumentshttps://sourceforge.net/p/maxima/bugs/2540/?limit=25#48ef<div class="markdown_content"><p>I was trying to prod you to fix it. :-) I'm fine with the patch.</p>
<p>I don't know what the right way is, but since the existing code appears to use Euler-Maclaurin and I think it works (more or less) over the whole plane, it's a good starting point.</p></div>Raymond ToyTue, 29 Jan 2013 17:08:58 -0000https://sourceforge.net5b589657215f6994f052daca5ba20019011c9e2c#2540 Infinite recursion in bfzeta with complex argumentshttps://sourceforge.net/p/maxima/bugs/2540/?limit=25#3247<div class="markdown_content"><p>Ok. Can we commit this small fix now? It fixes a rather unpleasant bug and never reports anything incorrect.</p>
<p>Then I agree that bfzeta should be able to work over the whole of C. But a quick search of Google Scholar etc. shows that there has been quite a lot of work on Chebyshev polynomial approximations etc. to zeta. Is the Euler-MacLaurin series The Right Way to do this?</p></div>Rupert SwarbrickTue, 29 Jan 2013 13:53:41 -0000https://sourceforge.net27978b4be152767d49f6909496187e156ab266d1#2540 Infinite recursion in bfzeta with complex argumentshttps://sourceforge.net/p/maxima/bugs/2540/?limit=25#1fc2<div class="markdown_content"><p>Patch looks ok, but I would prefer to fix bfzeta to support complex numbers. </p>
<p>I'm not 100% sure, but I think the algorithm is using an Euler-MacLaurin seris to evaluate the zeta function. I think all that needs to be done is to fix up the code that is determines where to terminate the finite sum and how many terms are used from the Euler-Maclaurin series.</p></div>Raymond ToyMon, 28 Jan 2013 17:26:39 -0000https://sourceforge.net38b1899f2030827e8684137f91b07d75cac5a8c8#2540 Infinite recursion in bfzeta with complex argumentshttps://sourceforge.net/p/maxima/bugs/2540/?limit=25#eda0<div class="markdown_content"><p>... of course, it works better if you attach the patch. Trying again:</p></div>Rupert SwarbrickMon, 28 Jan 2013 13:48:31 -0000https://sourceforge.net3a43c2997dadbfb33401547d2d9e45a9c721d7bdInfinite recursion in bfzeta with complex argumentshttps://sourceforge.net/p/maxima/bugs/2540/<div class="markdown_content"><p>As described in the thread archived at<br />
<a href="http://thread.gmane.org/gmane.comp.mathematics.maxima.general/40968">http://thread.gmane.org/gmane.comp.mathematics.maxima.general/40968</a>,<br />
<code>bfzeta</code> dies horribly when given arguments it doesn't expect. For<br />
complex arguments, it enters into an infinite recursion. For a symbol,<br />
eg <code>bfzeta(x, 10)</code>, it returns a hunk of code, which is not<br />
particularly helpful either.</p>
<p>The attached patch doesn't change <code>bfzeta</code>'s behaviour for real<br />
arguments that it can deal with, but hopefully behaves more sensibly<br />
otherwise, returning a noun form for complex or symbol arguments (and<br />
<code>inf</code> for 1, which also failed before)</p></div>Rupert SwarbrickMon, 28 Jan 2013 13:47:10 -0000https://sourceforge.net3c38aff8b4c86544cfb1b8e6e6baee3789014b5dInfinite recursion in bfzeta with complex argumentshttps://sourceforge.net/p/maxima/bugs/2540/<div class="markdown_content"><p>Ticket 2540 has been modified: Infinite recursion in bfzeta with complex arguments<br />
Edited By: Rupert Swarbrick (rswarbrick)<br />
Status updated: u'open' => u'closed'</p></div>Rupert SwarbrickMon, 28 Jan 2013 13:47:10 -0000https://sourceforge.net49703c654803093c53a5eca7dd0ca6e8d13408ee