Am Dienstag, 3. Juli 2012 11:09:27 UTC+2 schrieb Stefan Krastanov: > The one exception is code inside sympy which was agreed at some point, > should not require more than a python interpreter. However, if you are > using nsolve with lambdify you are again doing it wrong, because the > only advantage that our nsolve has over scipy is that it can work in > arbitrary precision. If you don't need it, just work in scipy, do not > kill precision for performance inside sympy. The other example is > plotting, however because of matplotlib this already requires numpy. >
Actually nsolve() is just a simple wrapper that connects the symbolical with the numerical world. It's syntactic sugar to save you from using lambdify() and mpmath.findroot(). In principle, it could also support the scipy algorithms for rootfinding. Maybe it should. Vinzent -- 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/-/tDahZEPQH1wJ. 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.
