octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bessel Functions and Thumbscrews


From: Robert T. Short
Subject: Re: Bessel Functions and Thumbscrews
Date: Fri, 02 Mar 2012 21:10:10 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

On 03/02/2012 11:17 AM, Jordi Gutiérrez Hermoso wrote:
On 2 March 2012 12:58, Robert T. Short<address@hidden>  wrote:
Following up on a post and bug report several weeks ago.

I have attached a patch in which I added a bunch of tests to
bessel{j,y,i,k}.
Thanks, this is helpful. I've pushed your patch and made a few style fixes:

     http://hg.savannah.gnu.org/hgweb/octave/rev/e28a1723d5a2

For future reference, you can use the three-argument calling form of
assert for testing relative instead of absolute tolerance (pass a
negative argument there). This is helpful because it produces a better
diagnostic if the assertion fails.

I also changed to xtest the two tests that failed on my machine. One
of them seems to be getting the signs wrong for some entries. The
other one seems to be getting the precision wrong.

- Jordi G. H.


Jordi, would you please run the attached script and send me the results? It will produce a series of "testcase??.mat" files. No rush.

Bob

Attachment: bobstests.m
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]