[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] [bug #33679] gsl_sf_mathieu_se_array calculates zeroth se as n
From: |
Nikolay Strelkov |
Subject: |
[Bug-gsl] [bug #33679] gsl_sf_mathieu_se_array calculates zeroth se as non-zero value |
Date: |
Thu, 30 Jun 2011 11:20:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.68 Safari/534.30 |
URL:
<http://savannah.gnu.org/bugs/?33679>
Summary: gsl_sf_mathieu_se_array calculates zeroth se as
non-zero value
Project: GNU Scientific Library
Submitted by: nikolays
Submitted on: Thu 30 Jun 2011 11:20:43 AM GMT
Category: Runtime error
Severity: 3 - Normal
Operating System: Gentoo 10.0 amd64
Status: None
Assigned to: None
Open/Closed: Open
Release:
Discussion Lock: Any
_______________________________________________________
Details:
It is well known, that eigenvalue *b0* for the odd solution b0 is not exist
<http://dlmf.nist.gov/28.2#F1>. Therefore the zeroth odd Mathieu function se
is equal to zero.
In gsl_sf_mathieu_se you have check for trivial case where order=0. But there
is no such check in gsl_sf_mathieu_se_array.
So _gsl_sf_mathieu_se_array_ calculates se0 as non-zero.
I can illustrate my thoughts with simple example (gsl_se_test.c).
It calculates *se* functions for orders 0 and 1 with values of q=-10,0,10. The
program calculates values with _gsl_sf_mathieu_se_ and
_gsl_sf_mathieu_se_array_. As you can see se0 values from array does not equal
to zero:
q = -10.0
se_0 = 0.0000000000
se_0 = 0.6115006542 (from array)
q = 10.0
se_0 = 0.0000000000
se_0 = 0.6115006542 (from array)
P.S. I use GSL 1.15.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 30 Jun 2011 11:20:43 AM GMT Name: gsl_se_test.c Size: 865B By:
nikolays
gsl_sf_mathieu_se_array and gsl_sf_mathieu_se test program
<http://savannah.gnu.org/bugs/download.php?file_id=23592>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33679>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gsl] [bug #33679] gsl_sf_mathieu_se_array calculates zeroth se as non-zero value,
Nikolay Strelkov <=