Skip to content

add exponential scaling support to Bessel function family #6665

@jdrugo

Description

@jdrugo

Would the Julia development team consider supporting the option to return exponentially scaled versions of the Bessel function? This option already exists in the used Amos library through setting the KODE argument, but is currently not used in Julia.

Supporting this option would allow evaluating the Bessel function family for larger arguments, for which the standard return values would be out of bounds. This is, for example, useful for computing various properties of the von Mises distribution (see JuliaStats/Distributions.jl#223 ).

I could imagine it being either implemented as a flag to the Bessel functions, for example as

function besseli(nu::Float64, z::Complex128, scaled::Bool = false)

as in R, or by a set of separate methods

besseliscaled
besselhscaled
...

I could provide the required code if you are happy with this request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions