Discuss Is Python any good with math programs? in the Python Programming forum on Dev Shed. Is Python any good with math programs? Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
Posts: 3,358
Time spent in forums: 1 Month 2 Weeks 3 Days 9 h 34 m 25 sec
Reputation Power: 383
Sure, python is fine with math. The enthought python distribution includes scipy and has, roughly, matlab equivalence. I searched the internet for
polyominoes python
with many hits.
Posts: 1,936
Time spent in forums: 1 Month 1 Week 2 h 12 m 42 sec
Reputation Power: 1312
Quote:
Originally Posted by redmanblackdog
Does Python do anything as far as a mathmatics programs?
Absolutely. The mathematics community has been slowly shifting away from the standard proprietary tools (Matlab, Mathematica, etc.) to free-software tools, many of which are built on Python or interface nicely with Python.
Numpy/scipy are the primary package for numerical computation. (Numpy is basically the numerical core of scipy.) There's also cvxopt for convex optimization. I've been using the combination of numpy/scipy/matplotlib/cvxopt for computations with real-world data over the past few years.
For not-so-numerical computation, you may want to look into Sage, which from what I understand is based on Python and can be used as a Python module. I haven't used it much, but lots of people (including mathematicians) think highly of it.
There's always pure Python. It's very easy to implement data structures and algorithms in Python. My main caveat is efficiency: programs written in pure Python will be significantly slower than their counterparts in a compiled language like C, C++, or Fortran.