Skip to content

Add special::Bessel trait#72

Closed
SpookyYomo wants to merge 12 commits into
qsib-cbie:mainfrom
SpookyYomo:xsf
Closed

Add special::Bessel trait#72
SpookyYomo wants to merge 12 commits into
qsib-cbie:mainfrom
SpookyYomo:xsf

Conversation

@SpookyYomo
Copy link
Copy Markdown
Contributor

  1. Add xsf namespace (without polluting special namespace) as being a strictly internal set of functions.

  2. Add Bessel trait.

  3. Add modified bessel i0 function. Here are the plots.
    log
    diff

  4. Add scaled modified bessel i0e function.

Similar issue to #71 where clippy complains that there is an excess of precision. This is probably however necessary to ease maintainence burden.
Supercedes #71.

matthew-hennefarth and others added 12 commits January 30, 2025 21:28
Introduces the xsf namespace without tainting the special:: namespace.

Introduces the chbevl function, which will be needed for functions such
as i0, i1, k0, k1, rgamma and shichi.
Implement bessel as a trait for f64 with the modified i0 bessel function
first. Can easily be extended for Vec and Array as necessary later.
We keep the extra precision to keep it easy to maintain the
implementations (currently just mirrored) between the f32 and f64
versions.
@SpookyYomo
Copy link
Copy Markdown
Contributor Author

Accidentally rebased wrongly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants