3 ms·
See http://sympy.org/en/index.html http://sympy.org/en/index.html. I've been using this for a while.
by nnnnnnnninnnnnn 14y ago
See http://sympy.org/en/index.html http://sympy.org/en/index.html. I've been using this for a while.
- barakstout 14y agoThat is a very good option. Thanks!
- jre 14y agoI've been using sympy to automate some derivative computation and I loved it. I found the evalf[1] function to be really helpful as it helps bridge the gap between the symbolic and numeric world. [1] http://docs.sympy.org/dev/modules/evalf.html http://docs.sympy.org/dev/modules/evalf.html
- barakstout 14y agoGood point. I think you could use the standard python eval() instead of defining f. something like: f = 'x**3+x-1' x = 4 eval(f) It should work fine.
- tlarkworthy 14y agoI was hoping for a sympy tutorial when I clicked
- barakstout 14y agoI am sure that can be arranged in the future, if one doesn't exist already.