I performed the following calculation:
from sympy import mpmath as mp
mp.besseljzero(1000, 100)
which understandably took some time > 10s if not more (didn't time it).
Subsequent calls were significantly faster which made me think it caches the results. I was wondering what other functions/caclulations sympy cahces?
Does this mean if I want to calculate mp.besseljzero(n, m)
for n < N and m < M it's best to calculate mp.besseljzero(N-1, M-1)
and then access the other results?
Thanks in advance.
I should add that I found this info on sympy FAQ. It seems that some sort of caching is supported. If there is more documentation you can point me to that would be helpful!