Packt Publishing, 2013. — 52 p. + Code. — ISBN10: 1-78216-363-8, ISBN13: 978-1-78216-362-6.
Learn to use SymPy's symbolic engine to simplify Python calculationsSymbolic computation is the use of algorithms and software to perform exact calculations on symbolic mathematical expressions. It has traditionally been the preserve of monolithic computer algebra systems. SymPy puts its power within easy reach of all Python programmers, just an import statement away.
Instant SymPy Starter is an introduction to the exciting world of symbolic computation in Python. With hands-on examples and practical advice, you will learn everything you need to integrate SymPy into your workflow and to make the best use of its functionalities.
This book will guide you on your journey with SymPy, from setting up your development environment to integrating SymPy into your workflow, with many useful tips. You will see how to set up a powerful environment for both symbolic and numerical computations inside IPython Notebook, and learn how to efficiently employ symbolic computation in your numerical calculations. You can follow the examples along on your own system as all the code is available in downloadable IPython notebooks. If you have never used IPython before, you should consider this as the perfect occasion to start.
What You Will Learn:Translating mathematical expressions into SymPy objects;
Compiling symbolic expressions into numerical functions;
Computing exact derivatives and Taylor expansions automatically;
Getting exact results for complicated integrals;
Solving systems of equations.
Who this book is for:This book is for Python developers. A good grounding in Python is assumed, as well as a bit of familiarity with its scientific ecosystem.