JuliaMath / JuliaMath/SpecialFunctions.jl

Bessel functions only support BigFloat arguments for integer orders

Open
#241 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Julia
Stars
381
Forks
113
Avg merge
1d 23h
Merged PRs (30d)
1

Description

Hi! I'm using the besselj and bessely ( )functions on a function to solve their zeros, as is shown in the source code of boostlibrary (`https://github.com/Ceboc/BesselZeros`). As i want to resolve roots with large values in certain x's interval, x_min < x_roots < x_max, where with .

The problem that i found is that is not consistent how bessely works.
![imagen](https://user-images.githubusercontent.com/8974379/94086845-c26ae900-fdd1-11ea-84fd-415164fba94d.png)
![imagen](https://user-images.githubusercontent.com/8974379/94086870-d9114000-fdd1-11ea-86c6-3c5a9548365e.png)
![imagen](https://user-images.githubusercontent.com/8974379/94086931-ffcf7680-fdd1-11ea-92bc-0c95f12de017.png)
![imagen](https://user-images.githubusercontent.com/8974379/94086954-107fec80-fdd2-11ea-9c8f-7bb27c48d4dc.png)
![imagen](https://user-images.githubusercontent.com/8974379/94087409-470a3700-fdd3-11ea-96a2-af43beea5167.png)

That it's, if i use a i must give an bigfloat argument, but if i want to use a non entire value for , doesn't works.

I was using a wrap of the equivalent boost functions on CxxWrap, but i have problems with the parallelization, so i wrote my own functions to find the zeros of bessels.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.