On 20/06/2023 00:47, Aaron Meurer wrote:
The automatic evalf logic in Function only calls evalf if every
argument is a float. It wasn't really designed for functions like
besselj where one argument is supposed to be an integer. It should
probably be updated to also automatically evalf if one argu
The automatic evalf logic in Function only calls evalf if every
argument is a float. It wasn't really designed for functions like
besselj where one argument is supposed to be an integer. It should
probably be updated to also automatically evalf if one argument is a
float and the rest are integers.
I wonder if anyone here can explain why some mathematical functions -
e.g. sin and gamma evaluate completely if given a floating point
argument, while others such as besselj(0,0.2) only evaluate completely
if .evalf() is used.
Is this behaviour intentional?
Best Wishes,
David
--
You receive