After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763070 - Complex bessel functions
Complex bessel functions
Status: RESOLVED OBSOLETE
Product: Gnumeric
Classification: Applications
Component: Analytics
git master
Other All
: Normal enhancement
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2016-03-04 00:20 UTC by Morten Welinder
Modified: 2018-05-22 14:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Unfinished patch (10.53 KB, patch)
2016-03-04 00:20 UTC, Morten Welinder
none Details | Review

Description Morten Welinder 2016-03-04 00:20:38 UTC
Created attachment 323040 [details] [review]
Unfinished patch

I thought it would be nice to add complex versions of the Bessel
functions to Gnumeric.

*Way* too much time went into that sink hole.

There doesn't seem to be publicly available good methods for this.

I am attaching code based on an article by R.B. Paris from 2009.

Reading the article gives the impression that the method should
work for all possible nu and z.  In practice, it does not.
The problem is not that the sums being computes aren't convergent.
They are and with the rate of convergence as stated.  The problem
is that numerically things can go wrong before convergence sets
in.

With z=100 and nu=141.4, for example, one gets terms that alternate
sign and are of order result*1e60.  That is pretty much hopeless
for practical computations.  With z=1000 and nu=1414, the problems
are ten times bigger.  Also, the number of terms needs is of
order nu.

The problem -- which is common to several suggested computational
methods related to the asymptotic expansions -- stem from taylor
expansion of (1-t*t)^(nu-1/2).  The coefficients in that expansion
grow like crazy to begin with.
Comment 1 GNOME Infrastructure Team 2018-05-22 14:23:57 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnumeric/issues/299.