[SciPy-user] generalised eigen value problem

Perez Kawumi pepe_kawumi@yahoo.co...
Thu Sep 20 21:52:50 CDT 2007

I have got two square matrices A and B. In matlab;

    [V,D] = EIG(A,B) produces a diagonal matrix D of generalized
    eigenvalues and a full matrix V whose columns are the
    corresponding eigenvectors so that A*V = B*V*D.

trying to solve for V and D in python
 I switched D and V and used the command below

    [D,V] = linalg.eig(A,B) 

However, this sometimes gives me the right solutions and sometimes "wrong ones". Does anyone know how I can ensure that I always get the right solutions?
Thanks Perez

Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070921/6423bc65/attachment.html 

More information about the SciPy-user mailing list