8. SymPy - IPython Notebook Tutorial HD
Working with symbolic mathematics in python using SymPy. Covering the basics of symbols() and Symbol() to define symbols. Rational() to define rational numbers and N() for numerical (or decimal) evaluation. subs() to substitute values in your expressions and equations. factor() expand() simplify() apart() and together() are used to rewrite the expression according to your needs. Covering the basics of doing calculus work in SymPy using diff() integrate() and Integral(). Sum() and Product() can be used to evaluate a sum or a product of an expression using doit() function. solve() can be used to solve equations and systems of equations with multiple variables. Units and unit conversion in SymPy is located in sympy.physics.units and it is a powerful tools with many built-in units. Finally, we discuss the lamdify() function and who to use it to interact with numpy and pandas. This is open source, Github/NBViwer: http://nbviewer.ipython.org/github/twistedhardware/mltutorial/blob/master/notebooks/IPython-Tutorial/8%20-%20SymPy.ipynb
Похожие видео
Показать еще