mreineck / ducc

Fork of https://gitlab.mpcdf.mpg.de/mtr/ducc to simplify external contributions
GNU General Public License v2.0
13 stars 12 forks source link

Simplify Gauss nodes computation #25

Closed nschaeff closed 5 months ago

nschaeff commented 5 months ago

I ran some tests and it turns out the asymptotic expansion can be truncated a bit more while retaining machine accuracy. You may (to reduce code and table size in ducc) or may not (to keep similarity with fastgl) simplify your functions. The following is enough to maintain machine accuracy according to my tests.

NB: The "fix" commit should be squashed with the previous one.

mreineck commented 5 months ago

Thanks a lot for the patch, this makes things much more compact!