On Sun, Mar 25, 2012 at 12:24 AM, Alexey U. Gudchenko wrote:
>
>
> Тема: Re: [sympy] Problem calculating eigenvectors
> Дата: Sat, 24 Mar 2012 13:33:30 -0500
> От: Alan Macdonald
> Кому: Alexey U. Gudchenko
>
> So it is a bug in Sympy. Doesn't
Good advice.
The issue was created.
http://code.google.com/p/sympy/issues/detail?id=3189
--
Alexey Gudchenko
On 24.03.2012 22:33, Alan Macdonald wrote:
> So it is a bug in Sympy. Doesn't seem very fixable. My matrix example
> shows that even simple calculations can go wrong if numbers are
> cal
Тема: Re: [sympy] Problem calculating eigenvectors
Дата: Sat, 24 Mar 2012 13:33:30 -0500
От: Alan Macdonald
Кому: Alexey U. Gudchenko
So it is a bug in Sympy. Doesn't seem very fixable. My matrix example
shows that even simple calculations can go wrong if number
24.03.2012 18:13, Alan Bromborsky пишет:
> If I run this -
>
> from sympy import *
>
>
> M = Matrix([ [1, .6, .6], [.6, 1, .9], [.6, .9, 1] ])
> print 'M =', M
> print 'eig values =',M.eigenvals()
> print 'eig vectors =',M.eigenvects()
>
> I get -
>
> M = [ 1, 0.6, 0.6]
> [0.6, 1, 0.9]
> [
If I run this -
from sympy import *
M = Matrix([ [1, .6, .6], [.6, 1, .9], [.6, .9, 1] ])
print 'M =', M
print 'eig values =',M.eigenvals()
print 'eig vectors =',M.eigenvects()
I get -
M = [ 1, 0.6, 0.6]
[0.6, 1, 0.9]
[0.6, 0.9, 1]
eig values = {0.489531364385073: 1, 2.41046863561493: 1,