Thank you very much it indeed works with "mpmath" in lambdify. However my 
final goal would be to actually use numpy to evaluate that value (as a 
function of n and d) in another program that has no dependency on sympy nor 
mpmath.

Do you think there is a way to make sympy refactor the expression so that 
the naive numpy translation would be more stable, especially for the range 
of d and n is such that the solution has an imaginary part close to or 
exactly zero?

I will try to further investigate.

-- 
Olivier

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sympy/-/yQddw56BoSwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to