Clear Filters
Clear Filters

GPU support for besselh

9 views (last 30 days)
Vignesh Radhakrishnan
Vignesh Radhakrishnan on 11 Jan 2023
Answered: Matt J on 11 Jan 2023
Hi,
I am trying to implement gpu processing in my code. Most of the bessel functions are supported by gpu but besselh is not. Am I wrong? If it is not supported, is there any way around it?
I would like to calculate a hankel function of zero order 2nd type
Thanks

Accepted Answer

Matt J
Matt J on 11 Jan 2023
Most of the bessel functions are supported by gpu but besselh is not. Am I wrong?
If "supported by GPU" means does it accepts gpuArrays as input, then yes, that appears to be the case. If instead you mean does the GPU Coder support it, then that is wrong, besselh does appear to be supported.
If the former, it appears that you can express besselh in terms of besselj and bessely
which do accept gpuArray input.

More Answers (0)

Categories

Find more on Special Functions in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!