Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 1401 by jorn.baayen: 'simplify' not idempotent? http://code.google.com/p/sympy/issues/detail?id=1401
For certain symbolic matrices calling 'eigenvects' will return eigenvalues, but no eigenvectors. Looking into this it turns out that the problem is in simplify(), as called from 'eigenvects' -> 'nullspace' -> 'rref'. If I replace every occurrence of 'simplify()' in 'rref' with 'simplify(simplify())', eigenvectors are returned. This raises the question of whether 'simplify' shouldn't be idempotent? ---- testcase follows ---- UA = Symbol("UA") K_i = Symbol("K_i") K_w = Symbol("K_w") A = Matrix([[-K_i - UA + K_i**2/(K_i + K_w), K_i*K_w/(K_i + K_w)], [ K_i*K_w/(K_i + K_w), -K_w + K_w**2/(K_i + K_w)]]) A.eigenvects() -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en -~----------~----~----~----~------~----~------~--~---