On 04/12/14 16:57, Oscar Benjamin wrote: > I'm having some problems getting sympy to compute eigenvalues of a > matrix with symbolic coefficients. > > A trivial example is: > > In [4]: M = Matrix([[y, 0], [0, z]]) > > In [5]: M > Out[5]: > ⎡y 0⎤ > ⎢ ⎥ > ⎣0 z⎦ > > In [6]: M.eigenvals() > Out[6]: > ⎧ __________ __________ ⎫ > ⎪ ╱ 2 ╱ 2 ⎪ > ⎨y z ╲╱ (y - z) y z ╲╱ (y - z) ⎬ > ⎪─ + ─ - ─────────────: 1, ─ + ─ + ─────────────: 1⎪ > ⎩2 2 2 2 2 2 ⎭
I think this has been improved in the dev version after 0.7.6. I remember commenting on an old issue on this which was then recently closed, but I cannot locate at the moment... test on git master? Colin -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/54809D92.4010708%40maths.ox.ac.uk. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature