You can also consider installing GNU Octave and embedding it in Python using oct2py. For example, to determine the eigenvalue of matrix A without balancing,
from oct2py import octave ... [X,L] = octave.eig(A)
Octave eig does not balance matrix A.
If you want to balance matrix A, you can go ahead and write:
from oct2py import octave ... A = octave.balance(A) [X,L] = octave.eig(A)
oct2py can be downloaded from this website: https://pypi.python.org/pypi/oct2py
Before installing oct2py, you need to make sure that SciPy and GNU Octave are already installed. Good luck
source share