In [1]:
%pylab inline
from numpy import linalg as LA


Populating the interactive namespace from numpy and matplotlib

In [ ]:
matA= np.array([[-0.0001, 0., 0., 0.00001, 0., 0., 0.00002, 0.],
                [0., -0.0002, 0., 0., 0., 0., 0., 0.],
                [0., 0., -0.00015, 0., 0., -9.*10**-6, 0., -0.00005],
                [0.00001, 0., 0., -0.0001, 0., 0.00001, 1.*10**-6, 0.],
                [0., 0., 0., -5.*10**-6, -0.0001, 0., 0., 0.],
                [0., -9.*10**-6, 0., 0.00001, 0., -0.0002, 0., 0.00005],
                [0., 0., 0., 0.00002, 0., 0., -0.0001, 0.],
                [0., 0.00004, 0., 0., 0., 0.00005, 0., -0.00015]])

matB=SP.array([[0., 0., 0., 0., 0., 0., 0., 0.],[0., 0., 1.5*10**-10, 0., 0., 0., 
  0., 0.],[0., -1.5*10**-10, 0., 0., 0., 0., 0., 0.],[0., 0., 0., 0.,
   0., 0., 0., 0.],[0., 0., 0., 0., 0., 3.*10**-10, 0., 0.],[0., 0., 
  0., 0., -3.*10**-10, 0., 2.*10**-10, 0.],[0., 0., 0., 0., 
  0., -2.*10**-10, 0., 0.],[0., 0., 0., 0., 0., 0., 0., 0.]])

In [ ]:
a = np.array()