Skip to content

Any Plans to Support Complex Inputs for First-Kind Bessel Function in Puruspe? #28

@elgar328

Description

@elgar328

Hello,

I needed the first-kind Bessel function, so I tried using the scilib library. However, I found that the function scilib::math::bessel::j_nu(nu: f64, z: Complex64) -> Complex64 lacked sufficient precision, and the function scilib::math::bessel::j_n(n: i32, x: f64) -> f64 produced completely inaccurate, diverging results.

Switching to puruspe::bessel::Jn resolved the issue, and I’m satisfied with its higher precision compared to scilib.

That said, I’m still using scilib’s j_nu function for complex inputs, but I’d like to fully transition to puruspe if possible. Do you have any plans to support a complex input version of the first-kind Bessel function in puruspe?

Thank you for providing such an excellent library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions