SymPy book

There’s a new book on SymPy, a Python library for symbolic math.

The book is Instant SymPy Starter by Ronan Lamy. As far as I know, this is the only book just on SymPy. It’s only about 50 pages, which is nice. It’s not a replacement for the online documentation but just a quick start guide.

The online SymPy documentation is good, but I think it would be easier to start with this book. And although I’ve been using SymPy off and on for a while, I learned a few things from the book.

7 thoughts on “SymPy book

  1. Can’t answer your question directly as I’m new to sympy, but have you looked to sage? It gives access to python, maxima, sympy, and more.

  2. Daniel: I’d say SymPy is not nearly as polished at Mathematica, but it’s worthwhile to me to be able to do more in one language/environment.

    I haven’t used Maxima, but I believe it’s one of the components absorbed into Sage. Sage is enormous. They’ve done a fantastic job of merging many open source packages and putting a Python face on it all.

  3. Maxima is generally old and slow, and is hard to develop on because it’s in lisp. SymPy is developing rapidly. Already, SymPy is much better than Maxima for many tasks.

  4. I haven’t used Maxima for a while, but SymPy should be quite comparable by now.

    Mathematica on the other hand is still a lot better and more polished. We have improved a lot with SymPy, but Mathematica has set the bar really high in terms of user experience. But lately,
    the IPython notebook + SymPy combo (and other Python libraries like NumPy) is not bad at all, I use it for my own research quite often.

  5. Robert Johansson’s “Numerical Python” (2015) has a 25-page chapter on sympy. Later chapters show how to use sympy alongside numpy and matplotlib.

    Overall, I like the book, and that chapter has been helpful at getting me up to speed on sympy.

Comments are closed.