gpuArray with besselj for non-integral order values
6 views (last 30 days)
Show older comments
I'm trying to use gpuArray with the besselj function. However, it doesn't work with non-integral values. I get the following error: 'Error using gpuArray/besselj The NU input (first argument) must be a positive integral value.'
The requirement for the non-gpu besselj is that the order must be real but doesn't need to be an integer. Anybody knows why this is not implemented with the gpuArray version?
Thanks.
Accepted Answer
Joss Knight
on 24 Nov 2015
This is a limitation of the NVIDIA libraries MATLAB uses to compute the bessel functions.
2 Comments
Joss Knight
on 3 Dec 2015
I took your post as an enhancement request so we'll see whether that eventually filters through to an implementation. You should put in a request to NVIDIA to improve their math libraries too!
More Answers (0)
See Also
Categories
Find more on GPU Computing 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!